home *** CD-ROM | disk | FTP | other *** search
- -- 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
-