home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GameStar Special 2004 August
/
GSSH0804.iso
/
Geschicklichkeit
/
Enigma
/
Enigma-081.exe
/
data
/
levels
/
martin104.lua
< prev
next >
Wrap
Text File
|
2003-09-05
|
2KB
|
52 lines
-- created by Martin Hawlisch
dofile(enigma.FindDataFile("levels/ant.lua"))
cells={}
cells[" "]=cell{floor="fl-sand"}
cells["#"]=cell{floor="fl-water"}
cells["."]=cell{item="it-landmine"}
cells["D"]=cell{item={"it-document", {text="! - DANGER - NO TRESPASSING - DANGER - !"}}}
cells["o"]=cell{actor={"ac-blackball", {player=0, mouseforce=1}}}
level = {
"#######################################",
"###### #",
"# ### . #",
"# ## . ... #",
"# ## . ..0.. #",
"# . # ... #",
"# # . #",
"# . # #",
"# .0. # #",
"# . # #",
"# . # ... #",
"# # . #",
"# # #",
"# # #",
"# # #### # #",
"# # . ## ### #",
"# . . . . ## #",
"# . # . # #",
"# ....## ###### #",
"# ....# . # . #",
"# ..0# . # #",
"# . ..### . # o # . #",
"# .0. ..#### ### . #",
"# . #### . D . #",
"#######################################"
}
set_default_parent(cells[" "])
create_world_by_map(level,cells)
oxyd_shuffle()
if (options.Difficulty==1) then -- easy
display.SetFollowMode(display.FOLLOW_SCROLLING)
end