~ubuntu-branches/ubuntu/hoary/enigma/hoary

« back to all changes in this revision

Viewing changes to data/levels/ant27.lua

  • Committer: Bazaar Package Importer
  • Author(s): Erich Schubert
  • Date: 2004-04-09 23:55:15 UTC
  • Revision ID: james.westby@ubuntu.com-20040409235515-ld1mi1mkmkse35hs
Tags: upstream-0.81.1
ImportĀ upstreamĀ versionĀ 0.81.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
-- Pain -- the Enigma Level
 
2
-- (c) 2003 Petr Machata/ant_39
 
3
-- Licensed under GPL v2.0 or above
 
4
-- 2003-02-09
 
5
-- 2003-02-10 -- keeping up to date with latest additions to ant.lua
 
6
 
 
7
dofile(enigma.FindDataFile("levels/ant.lua"))
 
8
 
 
9
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
 
10
 
 
11
cells={}
 
12
 
 
13
cells["."]=cell{floor="fl-abyss"}
 
14
cells[" "]=cell{floor="fl-bluegreen"}
 
15
cells["#"]=cell{stone="st-rock3"}
 
16
 
 
17
actors={}
 
18
stones={}
 
19
cells["O"]=cell{{{add_multiactor, "ac-blackball", actors, {player=0}, 2}}}
 
20
cells["%"]=cell{{{add_multistone, "st-rock3", stones}}}
 
21
cells["0"]=oxyd
 
22
 
 
23
level = {
 
24
   "####################",
 
25
   "#..................#",
 
26
   "#.                .#",
 
27
   "#.0              0.#",
 
28
   "#.                .#",
 
29
   "##0              0##",
 
30
   "#%#       O      #%#",
 
31
   "##0              0##",
 
32
   "#.                .#",
 
33
   "#.0              0.#",
 
34
   "#.                .#",
 
35
   "#..................#",
 
36
   "####################"
 
37
}
 
38
 
 
39
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
 
40
oxyd_default_flavor = "a"
 
41
set_default_parent(cells[" "])
 
42
create_world_by_map(level)
 
43
add_rubber_bands(actors, stones, -10, 4)
 
44
oxyd_shuffle()