home *** CD-ROM | disk | FTP | other *** search
/ GameStar Special 2004 August / GSSH0804.iso / Geschicklichkeit / Enigma / Enigma-081.exe / data / levels / martin101.lua < prev    next >
Text File  |  2003-09-02  |  1KB  |  45 lines

  1. -- created by Martin Hawlisch
  2.  
  3. dofile(enigma.FindDataFile("levels/ant.lua"))
  4.  
  5. cells={}
  6.  
  7. cells[" "]=cell{floor="fl-metal"}
  8. cells["#"]=cell{stone="st-metal"}
  9. cells["~"]=cell{floor="fl-water"}
  10. if (options.Difficulty==1) then -- easy
  11.     cells["-"]=cells[" "]
  12. else
  13.     cells["-"]=cells["~"]
  14. end
  15. cells["w"]=cell{item="it-weight"}
  16. cells["k"]=cell{item="it-floppy"}
  17. cells["<"]=cell{stone="st-oneway-w"}
  18. cells[">"]=cell{stone="st-oneway-e"}
  19. cells["S"]=cell{stone={"st-floppy", {action="openclose", target="door1"}}}
  20. cells["="]=cell{{{doorh, {name="door1"}}}}
  21. cells["o"]=cell{parent=cells[" "],actor={"ac-blackball", {player=0, mouseforce=1}}}
  22.  
  23. level = {
  24.    "####################",
  25.    "#                  #",
  26.    "#                o #",
  27.    "#                  #",
  28.    "#   ###########~~~~#",
  29.    "#   >wwwwwwwwwww~~~#",
  30.    "#   ###########w~~~#",
  31.    "#   <kwwwwwwwwww~~~#",
  32.    "##=S###########~~~~#",
  33.    "#                  #",
  34.    "# -- -- -  - -- -- #",
  35.    "# -- -- -  - -- -- #",
  36.    "#0##0##0#00#0##0##0#"
  37. }
  38.  
  39.  
  40. set_default_parent(cells[" "])
  41.  
  42. create_world_by_map(level,cells)
  43.  
  44. oxyd_shuffle()
  45.