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

  1. -- created by Martin Hawlisch
  2.  
  3. levelw = 21
  4. levelh = 14
  5.  
  6. create_world( levelw, levelh)
  7. draw_border("st-glass", 0, 0, 20, 13)
  8. fill_floor("fl-himalaya")
  9.  
  10. draw_border("st-glass", 2, 3, 9, 7)
  11.  
  12. oneway( 2,6, WEST)
  13. oneway(10,6, EAST)
  14.  
  15. set_attrib( laser( 20, 2, 1, WEST), "name", "laser1")
  16. set_attrib( laser( 20,10, 1, WEST), "name", "laser2")
  17. set_attrib( laser(  1,13, 1, NORTH), "name", "laser3")
  18. set_attrib( laser( 12,13, 1, NORTH), "name", "laser4")
  19. set_attrib( laser( 13,13, 1, NORTH), "name", "laser5")
  20. set_attrib( laser( 14,13, 1, NORTH), "name", "laser6")
  21. set_attrib( laser( 15,13, 1, NORTH), "name", "laser7")
  22. set_attrib( laser( 16,13, 1, NORTH), "name", "laser8")
  23. set_attrib( laser( 17,13, 1, NORTH), "name", "laser9")
  24.  
  25. shogundot1( 4,6, {target="laser1", action="onoff"})
  26. shogundot1( 5,5, {target="laser2", action="onoff"})
  27. shogundot1( 5,7, {target="laser3", action="onoff"})
  28. shogundot1( 6,4, {target="laser4", action="onoff"})
  29. shogundot1( 6,6, {target="laser5", action="onoff"})
  30. shogundot1( 6,8, {target="laser6", action="onoff"})
  31. shogundot1( 7,5, {target="laser7", action="onoff"})
  32. shogundot1( 7,7, {target="laser8", action="onoff"})
  33. shogundot1( 8,6, {target="laser9", action="onoff"})
  34.  
  35. set_stone("st-shogun",4,5, {holes=1})
  36. set_stone("st-shogun",4,7, {holes=1})
  37. set_stone("st-shogun",5,6, {holes=1})
  38. set_stone("st-shogun",6,4, {holes=1})
  39. set_stone("st-shogun",6,5, {holes=1})
  40. set_stone("st-shogun",6,7, {holes=1})
  41. set_stone("st-shogun",6,8, {holes=1})
  42. set_stone("st-shogun",7,6, {holes=1})
  43. set_stone("st-shogun",8,7, {holes=1})
  44.  
  45. oxyd( 0, 1)
  46. oxyd( 0,11)
  47. oxyd(18, 0)
  48. oxyd(19, 1)
  49. oxyd(18,12)
  50. oxyd(19,11)
  51.  
  52. oxyd_shuffle()
  53.  
  54. set_actor("ac-blackball", 9.5, 5.5, {player=0})
  55.  
  56.