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

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

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

revision 1.1 by dheck, Sun Jan 5 21:15:47 2003 UTC revision 1.2 by ant_39, Mon Feb 10 19:59:07 2003 UTC
# Line 1  Line 1 
1  -- Irregularities -- the Enigma Level  -- Escher's World -- 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 12  cells["v"]=cell{floor={face="fl-gradient Line 13  cells["v"]=cell{floor={face="fl-gradient
13  cells["^"]=cell{floor={face="fl-gradient", attr={type=2}}}  cells["^"]=cell{floor={face="fl-gradient", attr={type=2}}}
14  cells[">"]=cell{floor={face="fl-gradient", attr={type=3}}}  cells[">"]=cell{floor={face="fl-gradient", attr={type=3}}}
15  cells["<"]=cell{floor={face="fl-gradient", attr={type=4}}}  cells["<"]=cell{floor={face="fl-gradient", attr={type=4}}}
16  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}}
17  cells["="]=cell{parent={cells[" "]},stone={face="st-glass"}}  cells["="]=cell{parent=cells[" "], stone={face="st-glass"}}
18  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"}}}  
19    
20  level = {  level = {
21     "....................",     "....................",
22     ".O<<<< <<<<<<<<<<< .",     ".O<<<< <<<<<<<<<<< .",
23     ".v....v.........2.^.",     ".v....v.........0.^.",
24     ".v....v..........2^.",     ".v....v..........0^.",
25     ".v....v...........^.",     ".v....v...........^.",
26     ".v....v...........^.",     ".v....v...........^.",
27     ".v.... >>11<< ....^.",     ".v.... >>00<< ....^.",
28     ".v...........^....^.",     ".v...........^....^.",
29     ".v...........^....^.",     ".v...........^....^.",
30     ".v0..........^....^.",     ".v0..........^....^.",
# Line 36  level = { Line 35  level = {
35    
36    
37  -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
38  levelw = 20+19  oxyd_default_flavor = "b"
39  levelh = 13  create_world_by_map(level)
 create_world(levelw, levelh)  
 randomseed(enigma.GetTicks())  
 draw_map(0, 0, level)  
40  oxyd_shuffle()  oxyd_shuffle()

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