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

  1. levelw = 39
  2. levelh = 37
  3.  
  4. create_world(levelw, levelh)
  5.  
  6. draw_border("st-greenbrown")
  7.  
  8. fill_floor("fl-leaves", 19,0, level_width/2+1, level_height)
  9. fill_floor("fl-space", 0,0, level_width/2, level_height)
  10.  
  11. fill_floor("fl-gray", 1,1, 1,1)
  12. fill_floor("fl-gray", 1,35, 3,1)
  13. fill_floor("fl-gray", 2,34, 1,1)
  14. fill_floor("fl-gray", 6,1, 1,1)
  15. fill_floor("fl-gray", 8,1, 11,1)
  16. fill_floor("fl-gray", 17,2, 2,2)
  17. fill_floor("fl-gray", 14,35, 1,1)
  18. fill_floor("fl-gray", 17,34, 1,2)
  19. fill_floor("fl-gray", 10,24, 1,1)
  20. fill_floor("fl-gray", 10,25, 2,1)
  21. fill_floor("fl-gray", 13,25, 1,1)
  22. fill_floor("fl-gray", 14,24, 3,1)
  23. fill_floor("fl-gray", 16,25, 3,1)
  24. fill_floor("fl-gray", 18,24, 1,1)
  25. fill_floor("fl-gray", 10,28, 1,2)
  26. fill_floor("fl-gray", 14,28, 3,1)
  27. fill_floor("fl-gray", 18,28, 1,3)
  28. fill_floor("fl-gray", 11,29, 1,2)
  29. fill_floor("fl-gray", 17,29, 1,4)
  30. fill_floor("fl-gray", 18,32, 1,2)
  31. fill_floor("fl-gray", 13,29, 1,1)
  32. fill_floor("fl-gray", 14,30, 2,1)
  33. fill_floor("fl-gray", 16,31, 1,1)
  34. fill_floor("fl-gray", 14,32, 2,1)
  35. fill_floor("fl-gray", 15,33, 2,1)
  36. fill_floor("fl-gray", 13,31, 1,3)
  37. fill_floor("fl-gray", 12,30, 1,2)
  38. fill_floor("fl-gray", 16,29, 1,1)
  39. fill_floor("fl-gray", 12,34, 1,1)
  40. fill_floor("fl-gray", 8,30, 2,1)
  41. fill_floor("fl-gray", 8,31, 1,1)
  42. fill_floor("fl-gray", 10,31, 1,1)
  43. fill_floor("fl-gray", 9,32, 1,1)
  44. fill_floor("fl-gray", 11,32, 1,1)
  45. fill_floor("fl-gray", 10,33, 2,1)
  46.  
  47. draw_stones("st-greenbrown", {4,2}, {0,1}, 34)
  48. draw_stones("st-greenbrown", {7,1}, {0,1}, 34)
  49. draw_stones("st-greenbrown", {19,1}, {0,1}, 1)
  50. draw_stones("st-greenbrown", {19,3}, {0,1}, 33)
  51. draw_stones("st-greenbrown", {8,2}, {1,0}, 3)
  52. draw_stones("st-greenbrown", {13,2}, {1,0}, 4)
  53. draw_stones("st-greenbrown", {16,4}, {1,0}, 3)
  54. draw_stones("st-greenbrown", {10,3}, {0,1}, 2)
  55. draw_stones("st-greenbrown", {13,3}, {0,1}, 2)
  56. draw_stones("st-greenbrown", {20,12}, {1,0}, 17)
  57. draw_stones("st-greenbrown", {20,24}, {1,0}, 2)
  58. draw_stones("st-greenbrown", {23,24}, {1,0}, 14)
  59. draw_stones("st-greenbrown", {25,13}, {0,1}, 11)
  60.  
  61. set_stone("st-greenbrown", 16,3)
  62. set_stone("st-greenbrown", 37,10)
  63. set_stones("st-greenbrown", {{30,16},{30,17},{29,17},{30,19},{30,20},{29,19},
  64.                             {32,16},{32,17},{33,17},{32,19},{32,20},{33,19}})
  65.  
  66. set_stones("st-grate1", {{31,16},{31,17},{31,20},{29,18},{32,18},{33,18}})
  67.  
  68. set_stones("st-brownie", {{33,26},{33,27},{33,28},{33,29},{33,25},{31,26},
  69.                          {31,27},{31,28},{31,29},{31,25}})
  70.  
  71. draw_stones("st-greenbrown", {35,25}, {0,1}, 1)
  72. draw_stones("st-greenbrown", {35,29}, {0,1}, 1)
  73. draw_stones("st-greenbrown", {29,30}, {1,0}, 7)
  74. draw_stones("st-greenbrown", {29,27}, {0,1}, 1)
  75. draw_stones("st-greenbrown", {29,29}, {0,1}, 1)
  76. draw_stones("st-greenbrown", {21,35}, {0,1}, 1)
  77.  
  78. shogundot3(31,19, {target="door", action="openclose"})
  79. set_stone("st-shogun",30,18, {holes=7})
  80. set_stone("st-door", 37, 24 , {name="door", type="h"})
  81.  
  82. fill_floor("fl-inverse", 19,0, level_width/2, level_height/3)
  83.  
  84. fill_floor("fl-abyss", 21,2, 16,9)
  85. fill_floor("fl-abyss", 21,20, 3,3)
  86. fill_floor("fl-abyss", 36,25, 1,2)
  87. fill_floor("fl-abyss", 23,35, 14,1)
  88. fill_floor("fl-abyss", 23,33, 14,1)
  89. fill_floor("fl-abyss", 36,29, 2,2)
  90. fill_floor("fl-space", 26,34, 8,1)
  91. fill_floor("fl-leaves", 28,34, 1,1)
  92. fill_floor("fl-leaves", 31,34, 1,1)
  93.  
  94.  
  95. fill_floor("fl-abyss", 26,13, 2,11)
  96. fill_floor("fl-abyss", 28,13, 9,2)
  97. fill_floor("fl-abyss", 28,22, 9,2)
  98.  
  99. draw_stones("st-greenbrown", {23,25}, {1,0},7)
  100. draw_stones("st-greenbrown", {23,27}, {1,0},6)
  101. draw_stones("st-greenbrown", {20,32}, {1,0},16)
  102. draw_stones("st-glass", {21, 25}, {0,1},7)
  103. set_stones("st-glass", {{35,26},{35,28},{29,28},{22,32}})
  104.  
  105. set_attrib(laser(38,26, FALSE, WEST), "name", "laser")
  106. set_stone("st-switch", 22,35, {action="onoff", target="laser"})
  107.  
  108. mirrorp(20,26,0,0,4)
  109. mirrorp(20,28,0,0,2)
  110. mirrorp(37,28,0,0,3)
  111. mirrorp(37,31,0,0,3)
  112. mirror3(22,31,0,1,4)
  113.  
  114. oxyd(37,9)
  115. oxyd(22,14)
  116. oxyd(22,18)
  117. oxyd(22,21)
  118. fakeoxyd(22,16)
  119. fakeoxyd(8,1)
  120.  
  121. oneway(19,2, enigma.WEST)
  122. fill_floor("fl-leaves", 20,2, 1,1)
  123. set_item("it-magicwand",9,3)
  124.  
  125. document(3,35, "Warp 9... Energy...")
  126.  
  127. set_actor("ac-blackball", 2.5,35.5, {player=0})
  128.