home *** CD-ROM | disk | FTP | other *** search
/ GameStar Special 2004 August / GSSH0804.iso / Geschicklichkeit / Enigma / Enigma-081.exe / data / levels / martin97.lua < prev    next >
Encoding:
Text File  |  2003-08-19  |  1.9 KB  |  63 lines

  1. -- created by Martin Hawlisch
  2.  
  3. dofile(enigma.FindDataFile("levels/ant.lua"))
  4.  
  5. cells={}
  6.  
  7. cells[" "]=cell{floor="fl-bluegray"}
  8. cells["."]=cell{item="it-coin1"}
  9. cells["D"]=cell{item={"it-document", {text="Take some money and build yourself the tools you need"}}}
  10. cells["~"]=cell{floor="fl-water"}
  11. cells[""]=cell{}
  12. cells["#"]=cell{stone="st-glass"}
  13. cells["*"]=cell{stone="st-glass_move"}
  14. cells["/"]=cell{stone="st-mirror-p/"}
  15. cells["v"]=cell{stone="st-mirror-3vt"}
  16. cells["`"]=cell{stone="st-mirror-p\\"}
  17. cells["-"]=cell{stone={"st-laser-w", {name="laser2"}}}
  18. cells["l"]=cell{stone={"st-laser-n", {name="laser1"}}}
  19. cells["M"]=cell{stone="st-wood"}
  20. cells["$"]=cell{stone="st-death_invisible"}
  21. cells["%"]=cell{stone="st-knight"}
  22. cells["h"]=cell{stone="st-break_acblack"}
  23. cells["t"]=cell{item={"it-trigger", {action="onoff", target="laser1"}}}
  24. cells["T"]=cell{item={"it-trigger", {action="on", target="laser2"}}}
  25.  
  26. cells["o"]=cell{actor={"ac-blackball", {player=0, mouseforce=1}}}
  27.  
  28. level = {
  29.    "",
  30.    "",
  31.    "",
  32.    "",
  33.    "",
  34.    "",
  35.    "",
  36.    "",
  37.    "",
  38.    "",
  39.    "",
  40.    "/vvvvvvv` /vvvvvvv`                     ",
  41.    "#########0###################0######### ",
  42.    "#...             #`#~~~~~~~~~~~~~~~~  #-",
  43.    "# o              ######      $      $M# ",
  44.    "#                  *t #     %%%   $ $ # ",
  45.    "#        0         ####     %0%   $ $ # ",
  46.    "#                D #      $ %%%   $ $ # ",
  47.    "#                  #          $   $ $ # ",
  48.    "#  M               #   $    %%%   $ $ # ",
  49.    "#        0         #        %0% $$$ $ # ",
  50.    "#                  #        %%% $   $ # ",
  51.    "#                  # $          $ $$$ # ",
  52.    "#                  ~T   $   hhh $     # ",
  53.    "#########0###################0######### ",
  54.    "l                                       "   
  55. }
  56.  
  57.  
  58. set_default_parent(cells[" "])
  59.  
  60. create_world_by_map(level,cells)
  61.                                                                                                                               
  62. oxyd_shuffle()
  63.