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

  1. -- Siegfried Fennig--
  2.  
  3. levelw = 20
  4. levelh = 97
  5.  
  6. create_world(levelw, levelh)
  7. draw_border("st-greenbrown")
  8. fill_floor("fl-leaves", 0,0, level_width,level_height)
  9.  
  10. oxyd( 7, 7)
  11. oxyd( 9, 15)
  12. oxyd( 9, 25)
  13. oxyd( 9, 82)
  14. oxyd( 9, 88)
  15. oxyd( 9, 63)
  16. oxyd( 9, 35)
  17. oxyd( 9, 45)
  18. oxyd( 9, 55)
  19. oxyd( 9, 72)
  20. oxyd_shuffle()
  21.  
  22. draw_stones("st-greenbrown", {2,2},{1,0}, 16)
  23. draw_stones("st-greenbrown", {4,4},{1,0}, 12)
  24. draw_stones("st-greenbrown", {6,6},{1,0}, 8)
  25. draw_stones("st-greenbrown", {2,94}, {1,0}, 16)
  26. draw_stones("st-greenbrown", {4,92}, {1,0}, 12)
  27. draw_stones("st-greenbrown", {6,90}, {1,0}, 8)
  28. draw_stones("st-greenbrown", {2,3}, {0,1}, 91)
  29. draw_stones("st-greenbrown", {4,5}, {0,1}, 87)
  30. draw_stones("st-greenbrown", {6,7}, {0,1}, 83)
  31. draw_stones("st-greenbrown", {17,3}, {0,1}, 91)
  32. draw_stones("st-greenbrown", {15,5}, {0,1}, 87)
  33. draw_stones("st-greenbrown", {13,7}, {0,1}, 83)
  34. draw_stones("st-greenbrown", {7,8},{1,0}, 6)
  35. draw_stones("st-greenbrown", {7,10},{1,0}, 6)
  36. draw_stones("st-greenbrown", {14,10},{1,0}, 1)
  37. draw_stones("st-greenbrown_hole", {7,11}, {1,0}, 1)
  38. draw_stones("st-greenbrown", {7,12}, {0,1}, 2)
  39. draw_stones("st-greenbrown", {9,11}, {0,1}, 4)
  40. draw_stones("st-greenbrown", {10,12}, {0,1}, 3)
  41. draw_stones("st-greenbrown", {11,12}, {0,1}, 4)
  42. draw_stones("st-greenbrown", {8,15}, {0,1}, 3)
  43. draw_stones("st-greenbrown", {9,16}, {0,1}, 2)
  44. draw_stones("st-greenbrown", {10,17}, {0,1}, 1)
  45. draw_stones("st-greenbrown", {12,17}, {0,1}, 2)
  46. draw_stones("st-greenbrown", {8,19}, {1,0}, 3)
  47. draw_stones("st-greenbrown", {8,20},{1,0}, 5)
  48. draw_stones("st-greenbrown", {14,20},{1,0}, 1)
  49. draw_stones("st-greenbrown", {8,22}, {0,1}, 7)
  50. draw_stones("st-greenbrown", {10,22}, {0,1}, 7)
  51. draw_stones("st-greenbrown", {11,22}, {0,1}, 7)
  52. draw_stones("st-greenbrown", {9,26}, {0,1}, 3)
  53. draw_stones("st-greenbrown", {7,30}, {0,1}, 6)
  54. draw_stones("st-greenbrown", {8,30}, {0,1}, 6)
  55. draw_stones("st-greenbrown", {9,30}, {0,1}, 5)
  56. draw_stones("st-greenbrown", {10,30}, {1,0}, 3)
  57. draw_stones("st-greenbrown", {11,32}, {0,1}, 7)
  58. draw_stones("st-greenbrown", {7,37}, {1,0}, 4)
  59. draw_stones("st-greenbrown", {9,38}, {1,0}, 2)
  60. draw_stones("st-greenbrown", {7,39},{1,0}, 1)
  61. draw_stones("st-greenbrown", {14,40}, {1,0}, 1)
  62. draw_stones("st-greenbrown", {7,40}, {1,0}, 5)
  63. draw_stones("st-greenbrown", {7,41}, {1,0}, 5)
  64. draw_stones("st-greenbrown", {7,42}, {0,1}, 11)
  65. draw_stones("st-greenbrown", {9,43}, {0,1}, 2)
  66. draw_stones("st-greenbrown", {10,43}, {0,1}, 3)
  67. draw_stones("st-greenbrown", {12,43}, {0,1}, 17)
  68. draw_stones("st-greenbrown", {8,47}, {0,1}, 6)
  69. draw_stones("st-greenbrown", {10,47}, {0,1}, 6)
  70. draw_stones("st-greenbrown", {11,47}, {0,1}, 6)
  71. draw_stones("st-greenbrown", {3,50}, {1,0}, 1)
  72. draw_stones("st-greenbrown", {5,50}, {1,0}, 1)
  73. draw_stones("st-greenbrown", {8,54},{1,0}, 3)
  74. draw_stones("st-greenbrown", {10,55},{1,0}, 1)
  75. draw_stones("st-greenbrown", {7,56}, {1,0}, 4)
  76. draw_stones("st-greenbrown", {7,58}, {1,0}, 4)
  77.  
  78. draw_stones("st-greenbrown", {7,59}, {1,0}, 4)
  79. draw_stones("st-greenbrown", {14,59}, {1,0}, 1)
  80. draw_stones("st-greenbrown", {7,60}, {1,0}, 3)
  81. draw_stones("st-greenbrown", {7,61}, {1,0}, 3)
  82. draw_stones("st-greenbrown", {7,62}, {1,0}, 3)
  83. draw_stones("st-greenbrown", {7,63}, {1,0}, 2)
  84. draw_stones("st-greenbrown", {7,64}, {1,0}, 3)
  85. draw_stones("st-greenbrown", {11,61}, {0,1}, 4)
  86. draw_stones("st-greenbrown", {7,66}, {0,1}, 6)
  87. draw_stones("st-greenbrown", {8,66}, {0,1}, 1)
  88. draw_stones("st-greenbrown_hole", {8,67}, {0,1}, 5)
  89. draw_stones("st-greenbrown", {9,66}, {0,1}, 6)
  90. draw_stones("st-greenbrown", {10,66}, {0,1}, 7)
  91. draw_stones("st-greenbrown", {12,66}, {0,1}, 7)
  92. draw_stones("st-greenbrown", {5,68}, {1,0}, 1)
  93. draw_stones("st-greenbrown", {14,68}, {1,0}, 1)
  94. draw_stones("st-greenbrown", {7,73}, {0,1}, 6)
  95. draw_stones("st-greenbrown", {9,74}, {1,0}, 4)
  96. draw_stones("st-greenbrown", {9,76}, {1,0}, 4)
  97. draw_stones("st-greenbrown", {9,77}, {1,0}, 4)
  98. draw_stones("st-greenbrown", {5,77}, {1,0}, 1)
  99. draw_stones("st-greenbrown", {9,78}, {1,0}, 4)
  100. draw_stones("st-greenbrown", {7,80}, {1,0}, 5)
  101. draw_stones("st-greenbrown", {7,82}, {1,0}, 1)
  102. draw_stones("st-greenbrown", {10,82}, {0,1}, 4)
  103. draw_stones("st-greenbrown", {12,82}, {0,1}, 4)
  104. draw_stones("st-greenbrown", {8,84}, {0,1}, 2)
  105. draw_stones("st-greenbrown", {7,86}, {1,0}, 6)
  106. draw_stones("st-greenbrown", {14,86}, {1,0}, 1)
  107. draw_stones("st-greenbrown", {7,88}, {1,0}, 1)
  108. draw_stones("st-greenbrown", {10,88}, {1,0}, 3)
  109.  
  110. set_stone("st-death", 14,11)
  111.  
  112. set_item("it-hollow", 1,92)
  113.  
  114. set_stone("st-key_a", 5,40, {action="openclose", target="door1"})
  115. set_stone("st-door_b", 11,8, {name="door1", type="h"})
  116. set_item("it-key_a", 8,67)
  117.  
  118. set_stone( "st-key_b", 14,77, {action="openclose", target="door2"})
  119. set_stone("st-door_b", 9,22, {name="door2", type="h"})
  120. set_item("it-key_b", 12,7)
  121.  
  122. set_stone( "st-key_c", 5,59, {action="openclose", target="door3"})
  123. set_stone("st-door_b", 8,55, {name="door3", type="v"})
  124. set_item("it-key_c", 7,11)
  125.  
  126. set_stone("st-coinslot", 5,16, {action="openclose", target="door4"})
  127. set_stone("st-door_b", 10,15, {name="door4", type="h"})
  128. set_item("it-coin", 5,12,{value=6})
  129.  
  130. oneway(15,5, enigma.EAST)
  131. oneway(17,5, enigma.EAST)
  132. oneway(4,7, enigma.EAST)
  133. oneway(13,9, enigma.EAST)
  134. oneway(5,10, enigma.SOUTH)
  135. oneway(10,10, enigma.NORTH)
  136. oneway(2,16, enigma.WEST)
  137. oneway(6,15, enigma.EAST)
  138. oneway(13,15, enigma.EAST)
  139. oneway(10,18, enigma.EAST)
  140. oneway(7,20, enigma.NORTH)
  141. oneway(16,20, enigma.SOUTH)
  142. oneway(15,23, enigma.EAST)
  143. oneway(13,25, enigma.WEST)
  144. oneway(6,28, enigma.WEST)
  145. oneway(5,30, enigma.SOUTH)
  146. oneway(11,30, enigma.NORTH)
  147. oneway(14,30, enigma.NORTH)
  148. oneway(17,30, enigma.EAST)
  149. oneway(15,32, enigma.WEST)
  150. oneway(6,38, enigma.EAST)
  151. oneway(12,40, enigma.NORTH)
  152. oneway(13,42, enigma.EAST)
  153. oneway(2,45, enigma.WEST)
  154. oneway(17,48, enigma.WEST)
  155. oneway(9,50, enigma.NORTH)
  156. oneway(14,50, enigma.SOUTH)
  157. oneway(4,54, enigma.WEST)
  158. oneway(2,56, enigma.EAST)
  159. oneway(6,57, enigma.WEST)
  160. oneway(15,58, enigma.EAST)
  161. oneway(11,59, enigma.NORTH)
  162. oneway(2,62, enigma.EAST)
  163. oneway(6,65, enigma.EAST)
  164. oneway(4,66, enigma.EAST)
  165. oneway(15,69, enigma.WEST)
  166. oneway(4,70, enigma.WEST)
  167. oneway(6,72, enigma.WEST)
  168. oneway(11,72, enigma.NORTH)
  169. oneway(17,73, enigma.WEST)
  170. oneway(13,75, enigma.WEST)
  171. oneway(8,77, enigma.SOUTH)
  172. oneway(6,79, enigma.WEST)
  173. oneway(2,80, enigma.WEST)
  174. oneway(13,80, enigma.EAST)
  175. oneway(15,85, enigma.EAST)
  176. oneway(5,86, enigma.SOUTH)
  177. oneway(9,86, enigma.NORTH)
  178. oneway(10,90, enigma.NORTH)
  179. oneway(12,92, enigma.SOUTH)
  180. oneway(8,94, enigma.NORTH)
  181.  
  182. set_actor("ac-blackball", 1.5, 92.5, {player=0})
  183.