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

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

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

revision 1.2 by ant_39, Sat Jan 18 00:28:52 2003 UTC revision 1.3 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-01-11  -- 2003-01-11
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 34  cells={} Line 35  cells={}
35  cells[" "]=cell{floor={face="fl-marble"}}  cells[" "]=cell{floor={face="fl-marble"}}
36  cells["."]=cell{floor={face="fl-water"}}  cells["."]=cell{floor={face="fl-water"}}
37  cells["#"]=cell{parent=cells["."],stone={face="st-marble"}}  cells["#"]=cell{parent=cells["."],stone={face="st-marble"}}
38  cells["V"]=cell{parent=cells[" "],stone={face="st-laser", attr={on=TRUE, dir=enigma.SOUTH}}}  cells["V"]=cell{parent={cells[" "], {laser, TRUE, SOUTH}}}
39  cells["^"]=cell{parent=cells[" "],stone={face="st-laser", attr={on=TRUE, dir=enigma.NORTH}}}  cells["^"]=cell{parent={cells[" "], {laser, TRUE, NORTH}}}
40  cells["+"]=cell{parent=cells[" "],item={face="it-trigger", attr={action="callback", target="revert_bolders"}}}  cells["+"]=cell{parent=cells[" "],item={face="it-trigger", attr={action="callback", target="revert_bolders"}}}
41    
42  bolders = {}  bolders = {}
43  doors   = {}  doors   = {}
44  cells[">"]=cell{parent={cells[" "], {add_multiitem, {"st-bolder", bolders, {direction=enigma.EAST}}}}}  cells[">"]=cell{parent={cells[" "], {add_multistone, {"st-bolder", bolders, {direction=enigma.EAST}}}}}
45  cells["="]=cell{parent={cells["."], {add_multiitem, {"st-door_a", doors, {type="h"}}}}}  cells["="]=cell{parent={cells["."], {add_multistone, {"st-door_a", doors, {type="h"}}}}}
46    
47  cells["0"]=cell{parent=cells[" "],stone={face="st-oxyd", attr={flavor="c", color="0"}}}  cells["0"]=cell{parent={cells[" "], oxyd}}
 cells["1"]=cell{parent=cells[" "],stone={face="st-oxyd", attr={flavor="c", color="1"}}}  
 cells["2"]=cell{parent=cells[" "],stone={face="st-oxyd", attr={flavor="c", color="2"}}}  
 cells["3"]=cell{parent=cells[" "],stone={face="st-oxyd", attr={flavor="c", color="3"}}}  
48  cells["O"]=cell{parent=cells[" "],item={face="ac-blackball", attr={player=0}, actor=1}}  cells["O"]=cell{parent=cells[" "],item={face="ac-blackball", attr={player=0}, actor=1}}
49    
50  level = {  level = {
# Line 55  level = { Line 53  level = {
53     "#..0............0..#",     "#..0............0..#",
54     "#+.>     >       ..#",     "#+.>     >       ..#",
55     "#......... ........#",     "#......... ........#",
56     "#..2...... .....3..#",     "#..0...... .....0..#",
57     "#..>   O >       ..#",     "#..>   O >       ..#",
58     "#..2..... ......3..#",     "#..0..... ......0..#",
59     "#........ .........#",     "#........ .........#",
60     "#..>     >       .+#",     "#..>     >       .+#",
61     "#..1............1..#",     "#..0............0..#",
62     "#........#=#.......#",     "#........#=#.......#",
63     "##########^#########"     "##########^#########"
64  }  }
65    
66  -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
67  randomseed(enigma.GetTicks())  oxyd_default_flavor="c"
68  create_world_by_map(level)  create_world_by_map(level)
69  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