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

  1. -- created by Martin Hawlisch
  2.  
  3. levelw = 20
  4. levelh = 25
  5.  
  6. stone="st-glass"
  7.  
  8. create_world( levelw, levelh)
  9. draw_border( stone)
  10.  
  11. draw_checkerboard_floor("fl-bluegreen", "fl-bluegreenx", 0,0,levelw,levelh)
  12.  
  13. draw_stones( stone, {2,5},{1,0},17)
  14. oxyd( 1, 7)
  15. oxyd( 3, 7)
  16. oxyd( 5, 7)
  17. oxyd( 7, 7)
  18. oxyd( 9, 7)
  19. oxyd(11, 7)
  20. oxyd(13, 7)
  21. oxyd(15, 7)
  22. oxyd_shuffle()
  23.  
  24. draw_stones( stone, { 2,7},{0,1},11)
  25. draw_stones( stone, { 4,7},{0,1},11)
  26. draw_stones( stone, { 6,7},{0,1},11)
  27. draw_stones( stone, { 8,7},{0,1},11)
  28. draw_stones( stone, {10,7},{0,1},11)
  29. draw_stones( stone, {12,7},{0,1},11)
  30. draw_stones( stone, {14,7},{0,1},11)
  31. draw_stones( stone, {16,7},{0,1},11)
  32.  
  33. oneway( 2,6, enigma.EAST)
  34. oneway( 4,6, enigma.EAST)
  35. oneway( 6,6, enigma.EAST)
  36. oneway( 8,6, enigma.EAST)
  37. oneway(10,6, enigma.EAST)
  38. oneway(12,6, enigma.EAST)
  39. oneway(14,6, enigma.EAST)
  40.  
  41. -- this doesn't work in version 0.50 and later.  The marble gets
  42. -- crushed by the door.
  43. -- set_item( "it-trigger", 1,5, {action="open", target="door1"})
  44. -- doorv(16,6, {name="door1", state=OPEN})
  45. -- set_item( "it-trigger", 17,6, {action="close", target="door1"})
  46. oneway(16,6, EAST)
  47.  
  48. set_stone( "st-bolder", 1,17, {direction=SOUTH})
  49. set_stone( "st-bolder", 3,17, {direction=SOUTH})
  50. set_stone( "st-bolder", 5,17, {direction=SOUTH})
  51. set_stone( "st-bolder", 7,17, {direction=SOUTH})
  52. set_stone( "st-bolder", 9,17, {direction=SOUTH})
  53. set_stone( "st-bolder",11,17, {direction=SOUTH})
  54. set_stone( "st-bolder",13,17, {direction=SOUTH})
  55. set_stone( "st-bolder",15,17, {direction=SOUTH})
  56.  
  57. draw_stones( "st-grate1", {1,18}, {1,0}, 18)
  58.  
  59. set_item( "it-magicwand", 1,18)
  60.  
  61. set_actor("ac-blackball", 3, 2, {player=0})
  62.  
  63.