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

  1. -- created by Martin Hawlisch
  2.  
  3. levelw = 20
  4. levelh = 13
  5.  
  6. stone="st-thief"
  7. create_world( levelw, levelh)
  8. draw_border( stone)
  9. fill_floor( "fl-brick", 0, 0, levelw, levelh)
  10.  
  11. draw_stones( stone, { 1,3}, {2,0}, 4)
  12. draw_stones( stone, {12,3}, {2,0}, 4)
  13. draw_stones( stone, { 1,9}, {2,0}, 4)
  14. draw_stones( stone, {12,9}, {2,0}, 4)
  15. draw_stones( stone, { 4,1}, {0,1}, 3)
  16. draw_stones( stone, { 8,1}, {0,1}, 3)
  17. draw_stones( stone, {11,1}, {0,1}, 3)
  18. draw_stones( stone, {15,1}, {0,1}, 3)
  19. draw_stones( stone, { 4,9}, {0,1}, 3)
  20. draw_stones( stone, { 8,9}, {0,1}, 3)
  21. draw_stones( stone, {11,9}, {0,1}, 3)
  22. draw_stones( stone, {15,9}, {0,1}, 3)
  23. draw_stones( stone, { 2,6}, {1,0},16)
  24.  
  25. doorh(2,3,{name="door1"})
  26. set_stone("st-floppy", 4, 4, {action="openclose", target="door1"})
  27. doorh(6,3,{name="door2"})
  28. set_stone("st-floppy", 8, 4, {action="openclose", target="door2"})
  29. doorh(2,9,{name="door3"})
  30. set_stone("st-floppy", 4, 8, {action="openclose", target="door3"})
  31. doorh(6,9,{name="door4"})
  32. set_stone("st-floppy", 8, 8, {action="openclose", target="door4"})
  33. doorh(13,3,{name="door5"})
  34. set_stone("st-floppy", 11, 4, {action="openclose", target="door5"})
  35. doorh(17,3,{name="door6"})
  36. set_stone("st-floppy", 15, 4, {action="openclose", target="door6"})
  37. doorh(13,9,{name="door7"})
  38. set_stone("st-floppy", 11, 8, {action="openclose", target="door7"})
  39. doorh(17,9,{name="door8"})
  40. set_stone("st-floppy", 15, 8, {action="openclose", target="door8"})
  41.  
  42.  
  43. set_item("it-floppy", 10, 11)
  44. document( 9, 4, "Warning ... ... thieves!")
  45.  
  46. oxyd( 2, 0)
  47. oxyd( 6, 0)
  48. oxyd(13, 0)
  49. oxyd(17, 0)
  50. oxyd( 2,12)
  51. oxyd( 6,12)
  52. oxyd(13,12)
  53. oxyd(17,12)
  54. oxyd_shuffle()
  55.  
  56. set_actor("ac-blackball", 10, 2.5, {player=0})
  57.  
  58.