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

  1. -- created by Martin Hawlisch
  2.  
  3. dofile(enigma.FindDataFile("levels/ant.lua"))
  4.  
  5. cells={}
  6.  
  7. cells[" "]=cell{floor="fl-sand"}
  8. cells["#"]=cell{floor="fl-water"}
  9. cells["."]=cell{item="it-landmine"}
  10. cells["D"]=cell{item={"it-document", {text="! -  DANGER  -  NO TRESPASSING  -  DANGER  - !"}}}
  11.  
  12. cells["o"]=cell{actor={"ac-blackball", {player=0, mouseforce=1}}}
  13.  
  14. level = {
  15.    "#######################################",
  16.    "######                                #",
  17.    "#   ###                    .          #",
  18.    "#     ##         .        ...         #",
  19.    "#       ##         .     ..0..        #",
  20.    "#   .     #               ...         #",
  21.    "#          #               .          #",
  22.    "#      .    #                         #",
  23.    "#     .0.    #                        #",
  24.    "#      .     #                        #",
  25.    "#   .       #     ...                 #",
  26.    "#           #                   .     #",
  27.    "#           #                         #",
  28.    "#          #                          #",
  29.    "#           # ####  #                 #",
  30.    "#            # .  ## ###              #",
  31.    "#     .       .   .   . ##            #",
  32.    "#           .    #  .     #           #",
  33.    "#          ....##    ######           #",
  34.    "#         ....#   .  #      .         #",
  35.    "#         ..0# .    #                 #",
  36.    "#  .      ..###    . # o # .          #",
  37.    "# .0.      ..####     ###     .       #",
  38.    "#  .          ####  .  D .            #",
  39.    "#######################################"
  40. }
  41.  
  42.  
  43. set_default_parent(cells[" "])
  44.  
  45. create_world_by_map(level,cells)
  46.                                                                                                                               
  47. oxyd_shuffle()
  48.  
  49. if (options.Difficulty==1) then -- easy
  50.     display.SetFollowMode(display.FOLLOW_SCROLLING)
  51. end
  52.