/[enigma]/enigma/data/levels/ant25.lua
ViewVC logotype

Diff of /enigma/data/levels/ant25.lua

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by ant_39, Sat Feb 8 17:12:16 2003 UTC revision 1.2 by ant_39, Mon Feb 10 19:59:07 2003 UTC
# Line 2  Line 2 
2  -- (c) 2003 Petr Machata/ant_39  -- (c) 2003 Petr Machata/ant_39
3  -- Licensed under GPL v2.0 or above  -- Licensed under GPL v2.0 or above
4  -- 2003-02-08  -- 2003-02-08
5    -- 2003-02-10 -- keeping up to date with latest additions to ant.lua
6    
7  dofile(enigma.FindDataFile("levels/ant.lua"))  dofile(enigma.FindDataFile("levels/ant.lua"))
8    
# Line 13  cells[" "]=cell{floor={face="fl-sahara"} Line 14  cells[" "]=cell{floor={face="fl-sahara"}
14  cells["#"]=cell{parent=cells[" "], stone={face="st-rock3"}}  cells["#"]=cell{parent=cells[" "], stone={face="st-rock3"}}
15    
16  puzzles = {};  puzzles = {};
17  cells["*"]=cell{parent={{puzzlecell, puzzles}}}  cells["*"]=cell{parent={cells[" "], {puzzlecell, puzzles}}}
18    
19  smallmarbles={}  smallmarbles={}
20  bigmarbles={}  bigmarbles={}
# Line 27  cells["B"]=cell{parent=cells[" "],stone= Line 28  cells["B"]=cell{parent=cells[" "],stone=
28  cells["a"]=cell{parent=cells[" "],item={face="it-trigger", attr={action="openclose", target="doorA"}}}  cells["a"]=cell{parent=cells[" "],item={face="it-trigger", attr={action="openclose", target="doorA"}}}
29  cells["b"]=cell{parent=cells[" "],item={face="it-trigger", attr={action="openclose", target="doorB"}}}  cells["b"]=cell{parent=cells[" "],item={face="it-trigger", attr={action="openclose", target="doorB"}}}
30    
31  cells["0"]=cell{parent=cells[" "],stone={face="st-oxyd", attr={flavor="b", color="0"}}}  cells["0"]=cell{parent={cells[" "], oxyd}}
 cells["1"]=cell{parent=cells[" "],stone={face="st-oxyd", attr={flavor="b", color="1"}}}  
 cells["2"]=cell{parent=cells[" "],stone={face="st-oxyd", attr={flavor="b", color="2"}}}  
32    
33  level = {  level = {
34     "##########################################################",     "##########################################################",
# Line 38  level = { Line 37  level = {
37     "#                  #A##################                  #",     "#                  #A##################                  #",
38     "#                  # a         ********************      #",     "#                  # a         ********************      #",
39     "#                  0           *   *  0                  #",     "#                  0           *   *  0                  #",
40     "#                  1           * o *  1                  #",     "#                  0           * o *  0                  #",
41     "#                  2           *   *  2                  #",     "#                  0           *   *  0                  #",
42     "#               ********************b #                  #",     "#               ********************b #                  #",
43     "#                  ##################B#                  #",     "#                  ##################B#                  #",
44     "#                  #                  #                  #",     "#                  #                  #                  #",
# Line 48  level = { Line 47  level = {
47  }  }
48    
49  -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
 randomseed(enigma.GetTicks())  
50  create_world_by_map(level)  create_world_by_map(level)
51  render_puzzles(puzzles, cells[" "]);  render_puzzles(puzzles);
52  add_rubber_bands(smallmarbles, bigmarbles, 10)  add_rubber_bands(smallmarbles, bigmarbles, 10)
53  oxyd_shuffle()  oxyd_shuffle()
54  enigma.ConserveLevel = FALSE  enigma.ConserveLevel = FALSE

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26