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

  1. -- created by Martin Hawlisch
  2.  
  3. dofile(enigma.FindDataFile("levels/ant.lua"))
  4.  
  5. create_world(20, 13)
  6. fill_floor("fl-abyss")
  7.  
  8. level =  {
  9.  "                    ",
  10.  " ##..--++++++--..## ",
  11.  " 0#---.      .---#0 ",
  12.  " ##....++++++....## ",
  13.  " #O....|    |....## ",
  14.  " ##----|    |----## ",
  15.  " 0#....      ....#0 ",
  16.  " ##----|    |----## ",
  17.  " ##....|    |....## ",
  18.  " ##....++++++....## ",
  19.  " 0#---.      .---#0 ",
  20.  " ##..--++++++--..## ",
  21.  "                    "}
  22.  
  23. difficult = (options.Difficulty==2)
  24.  
  25. cells={}
  26. cells[" "]=abyss
  27. cells["#"]=cell{floor="fl-stwood"}
  28. cells["+"]=cell{item="it-crack3",floor="fl-wood"}
  29. if difficult then
  30.   cells["-"]=cell{parent=cells["+"]}
  31. else
  32.   cells["-"]=cell{parent=cells["#"]}
  33. end
  34. if difficult then
  35.   cells["."]=cell{parent=cells[" "]}
  36. else
  37.   cells["."]=cell{parent=cells["#"]}
  38. end
  39.  
  40. if difficult then
  41.   cells["|"]=cell{parent=cells["+"]}
  42. else
  43.   cells["|"]=cell{parent=cells[" "]}
  44. end
  45.  
  46.  
  47. oxyd_default_flavor = "a"
  48.  
  49. set_default_parent(cells["#"])
  50. create_world_by_map(level,cells)
  51.  
  52. oxyd_shuffle()
  53.  
  54. enigma.ConserveLevel = FALSE
  55.  
  56.