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

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

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

revision 1.2 by ant_39, Wed Jan 8 20:19:58 2003 UTC revision 1.3 by ant_39, Mon Feb 10 19:59:07 2003 UTC
# Line 1  Line 1 
1  -- Automaton Magic -- the Enigma Level  -- Automaton Magic -- the Enigma Level
2  -- (c) 2002 Petr Machata/ant_39  -- (c) 2002 Petr Machata/ant_39
3  -- Licensed under GPL v2.0 or above  -- Licensed under GPL v2.0 or above
4    -- 2003-02-10 -- keeping up to date with latest additions to ant.lua
5    
6  dofile(enigma.FindDataFile("levels/ant.lua"))  dofile(enigma.FindDataFile("levels/ant.lua"))
7  -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
# Line 35  cells["c"]=cell{parent={cells["."], i_c_ Line 36  cells["c"]=cell{parent={cells["."], i_c_
36  cells["d"]=cell{parent={cells["."], i_d_xy},item={face="it-trigger", attr={action="callback", target="turnbolder", invisible=1}}}  cells["d"]=cell{parent={cells["."], i_d_xy},item={face="it-trigger", attr={action="callback", target="turnbolder", invisible=1}}}
37  cells["e"]=cell{parent={cells["."], i_e_xy},item={face="it-trigger", attr={action="callback", target="turnbolder", invisible=1}}}  cells["e"]=cell{parent={cells["."], i_e_xy},item={face="it-trigger", attr={action="callback", target="turnbolder", invisible=1}}}
38  cells["f"]=cell{parent={cells["."], i_f_xy},item={face="it-trigger", attr={action="callback", target="turnbolder", invisible=1}}}  cells["f"]=cell{parent={cells["."], i_f_xy},item={face="it-trigger", attr={action="callback", target="turnbolder", invisible=1}}}
39  cells["0"]=cell{parent={cells[" "]},stone={face="st-oxyd", attr={flavor="a", color="0"}}}  cells["0"]=cell{parent={cells[" "], oxyd}}
 cells["1"]=cell{parent={cells[" "]},stone={face="st-oxyd", attr={flavor="a", color="1"}}}  
 cells["2"]=cell{parent={cells[" "]},stone={face="st-oxyd", attr={flavor="a", color="2"}}}  
 cells["3"]=cell{parent={cells[" "]},stone={face="st-oxyd", attr={flavor="a", color="3"}}}  
40  cells[">"]=cell{parent={cells[" "]},stone={face="st-bolder", attr={direction=EAST, name="bolder1"}}}  cells[">"]=cell{parent={cells[" "]},stone={face="st-bolder", attr={direction=EAST, name="bolder1"}}}
41    
42  level = {  level = {
43     "####1##########0####",     "####0##########0####",
44     "#....          ....#",     "#....          ....#",
45     "#.                .#",     "#.                .#",
46     "#.                .#",     "#.                .#",
47     "1.  c   >      d  .0",     "0.  c   >      d  .0",
48     "#                  #",     "#                  #",
49     "#       m O        #",     "#       m O        #",
50     "#                  #",     "#                  #",
51     "2.  f          e  .3",     "0.  f          e  .0",
52     "#.                .#",     "#.                .#",
53     "#.                .#",     "#.                .#",
54     "#....          ....#",     "#....          ....#",
55     "####2##########3####"     "####0##########0####"
56  }  }
57    
58    
59  -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60  levelw = 20  oxyd_default_flavor = "a"
61  levelh = 13  create_world_by_map(level)
 create_world(levelw, levelh)  
 draw_map(0, 0, level)  
62  oxyd_shuffle()  oxyd_shuffle()

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

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