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

  1. -- created by Martin Hawlisch
  2.  
  3. world.DefineSimpleStoneMovable("fake_stone_move", "shatter", 0)
  4. display.DefineAlias("fake_stone_move", "st-death")
  5. world.DefineSimpleStone("fake_stone", "shatter", 0, 0)
  6. display.DefineAlias("fake_stone", "st-death")
  7.  
  8. dofile(enigma.FindDataFile("levels/ant.lua"))
  9.  
  10. cells={}
  11.  
  12. cells[" "]=cell{floor="fl-abyss_fake"}
  13. cells["."]=cell{floor="fl-swamp"}
  14. cells["#"]=cell{stone="fake_stone"}
  15. cells["+"]=cell{stone="fake_stone_move"}
  16. cells["X"]=cell{stone="my_oxyd"}
  17. cells["%"]=cell{stone="st-death_invisible"}
  18. cells["h"]=cell{parent=cells["."],item="it-hammer"}
  19. cells["d"]=cell{item="it-umbrella"}
  20. cells["x"]=cell{actor={"ac-rotor", {range=25, force=40}}}
  21. cells["o"]=cell{parent=cells["."],actor={"ac-blackball", {player=0, mouseforce=1}}}
  22.  
  23. level = {
  24.    "####################",
  25.    "#......          # #",
  26.    "#..o...          # 0",
  27.    "#....h.          # #",
  28.    "##%####++++++++++++#",
  29.    "#d%                #",
  30.    "#%%                #",
  31.    "#                  #",
  32.    "#                  #",
  33.    "#                  #",
  34.    "#                  #",
  35.    "#                  #",
  36.    "#0##################"
  37. }
  38.  
  39.  
  40. set_default_parent(cells[" "])
  41.  
  42. create_world_by_map(level,cells)
  43.  
  44.