home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GameStar Special 2004 August
/
GSSH0804.iso
/
Geschicklichkeit
/
Enigma
/
Enigma-081.exe
/
data
/
levels
/
martin92.lua
< prev
next >
Wrap
Text File
|
2003-07-18
|
1KB
|
56 lines
-- created by Martin Hawlisch
dofile(enigma.FindDataFile("levels/ant.lua"))
create_world(20, 13)
fill_floor("fl-abyss")
level = {
" ",
" ##..--++++++--..## ",
" 0#---. .---#0 ",
" ##....++++++....## ",
" #O....| |....## ",
" ##----| |----## ",
" 0#.... ....#0 ",
" ##----| |----## ",
" ##....| |....## ",
" ##....++++++....## ",
" 0#---. .---#0 ",
" ##..--++++++--..## ",
" "}
difficult = (options.Difficulty==2)
cells={}
cells[" "]=abyss
cells["#"]=cell{floor="fl-stwood"}
cells["+"]=cell{item="it-crack3",floor="fl-wood"}
if difficult then
cells["-"]=cell{parent=cells["+"]}
else
cells["-"]=cell{parent=cells["#"]}
end
if difficult then
cells["."]=cell{parent=cells[" "]}
else
cells["."]=cell{parent=cells["#"]}
end
if difficult then
cells["|"]=cell{parent=cells["+"]}
else
cells["|"]=cell{parent=cells[" "]}
end
oxyd_default_flavor = "a"
set_default_parent(cells["#"])
create_world_by_map(level,cells)
oxyd_shuffle()
enigma.ConserveLevel = FALSE