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

  1. -- Siegfried Fennig 09.01.2003 Rev. 0
  2.  
  3. levelw = 58
  4. levelh = 37
  5.  
  6. create_world(levelw, levelh)
  7. fill_floor("fl-abyss", 0, 0, levelw,levelh)
  8. fill_floor("fl-normal",21,15,16, 7)
  9.  
  10. draw_floor("fl-gradient", {21,14}, {1,0},16, {type=1})
  11. draw_floor("fl-gradient", {20,15}, {0,1}, 7, {type=3})
  12. draw_floor("fl-gradient", {21,22}, {1,0},16, {type=2})
  13. draw_floor("fl-gradient", {37,15}, {0,1}, 7, {type=4})
  14. draw_floor("fl-gradient", {20,14}, {1,0}, 1, {type=5})
  15. draw_floor("fl-gradient", {37,14}, {1,0}, 1, {type=6})
  16. draw_floor("fl-gradient", {20,22}, {1,0}, 1, {type=7})
  17. draw_floor("fl-gradient", {37,22}, {1,0}, 1, {type=8})
  18.  
  19. draw_stones("st-invisible", {18,11}, {1,0},22)
  20. draw_stones("st-invisible", {18,25}, {1,0},22)
  21. draw_stones("st-invisible", {18,12}, {0,1},13)
  22. draw_stones("st-invisible", {39,12}, {0,1},13)
  23.  
  24. set_item("it-hollow", 24,19)
  25. set_item("it-hollow", 27,17)
  26. set_item("it-hollow", 30,19)
  27. set_item("it-hollow", 33,17)
  28.  
  29. function basis( x, y)
  30.        set_floor("fl-gradient",   x+1, y,      {type=2})
  31.        set_floor("fl-gradient",   x, y+1,      {type=4})
  32.        set_floor("fl-gradient",   x+2, y+1,    {type=3})
  33.        set_floor("fl-gradient",   x, y,        {type=12})
  34.        set_floor("fl-gradient",   x+2, y,      {type=10})
  35.        set_floor("fl-gradient",   x, y+2,      {type=11})
  36.        set_floor("fl-gradient",   x+2, y+2,    {type=9})
  37.        set_floor("fl-gradient",   x+1, y+2,    {type=1})
  38. end
  39.  
  40. basis (23,18)
  41. basis (26,16)
  42. basis (29,18)
  43. basis (32,16)
  44.  
  45. set_actor("ac-whiteball-small", 24.5, 17.5, {player=0, mouseforce=1})
  46. set_actor("ac-whiteball-small", 27.5, 19.5, {player=0, mouseforce=1})
  47. set_actor("ac-whiteball-small", 30.5, 17.5, {player=0, mouseforce=1})
  48. set_actor("ac-whiteball-small", 33.5, 19.5, {player=0, mouseforce=1})
  49.