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

  1. -- created by Martin Hawlisch
  2.  
  3. create_world( 20, 13)
  4. oxyd_default_flavor = "a"
  5.  
  6. stone = "st-bluegray"
  7. floor = "fl-normal"
  8.  
  9. fill_floor( "fl-space")
  10.  
  11. fill_floor( floor, 9,6, 2,1)
  12.  
  13. set_floor( floor, 1, 1)
  14. set_floor( floor,18, 1)
  15. set_floor( floor, 1,11)
  16. set_floor( floor,18,11)
  17.  
  18. set_floor( floor, 6, 2)
  19. set_floor( floor,13, 2)
  20. set_floor( floor, 6,10)
  21. set_floor( floor,13,10)
  22.  
  23. fill_floor( floor, 4, 1, 12,1)
  24. fill_floor( floor, 4,11, 12,1)
  25.  
  26. fill_floor( floor, 1, 3,  1,7)
  27. fill_floor( floor,18, 3,  1,7)
  28.  
  29. draw_border( stone)
  30.  
  31. set_stone( "st-death", 1, 5)
  32. set_stone( "st-death", 1, 7)
  33.  
  34. set_stone( "st-death",18, 5)
  35. set_stone( "st-death",18, 7)
  36.  
  37. set_stone( "st-death", 9, 1)
  38. set_stone( "st-death",10, 1)
  39.  
  40. set_stone( "st-death", 9,11)
  41. set_stone( "st-death",10,11)
  42.  
  43. oxyd( 3, 0)
  44. oxyd( 6, 0)
  45. oxyd(13, 0)
  46. oxyd(16, 0)
  47. oxyd( 3,12)
  48. oxyd( 6,12)
  49. oxyd(13,12)
  50. oxyd(16,12)
  51.  
  52. oxyd_shuffle()
  53.  
  54. set_item( "it-magnet", 1, 1, {name="magnet1"})
  55. set_item( "it-magnet",18, 1, {name="magnet2"})
  56. set_item( "it-magnet", 1,11, {name="magnet3"})
  57. set_item( "it-magnet",18,11, {name="magnet4"})
  58.  
  59. set_stone( "st-switch", 0, 2, {action="onoff", target="magnet2"})
  60. set_stone( "st-switch",19, 2, {action="onoff", target="magnet1"})
  61. set_stone( "st-switch", 0,10, {action="onoff", target="magnet4"})
  62. set_stone( "st-switch",19,10, {action="onoff", target="magnet3"})
  63.  
  64.  
  65. set_actor("ac-blackball", 10, 6.5, {player=0, mouseforce=1})
  66.  
  67.