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

  1. levelw = 39
  2. levelh = 13
  3.  
  4. create_world(levelw, levelh)
  5.  
  6. draw_border("st-greenbrown")
  7. fill_floor("fl-hay", 0,0, level_width,level_height)
  8.  
  9. oxyd(37,11)
  10. oxyd(5,1)
  11. oxyd(33,10)
  12. oxyd(5,11)
  13.  
  14.  
  15. set_item( "it-magicwand", 34,10)
  16.  
  17. set_stone("st-greenbrown",19,1)
  18. set_stone("st-greenbrown",19,2)
  19. set_stone("st-greenbrown",19,3)
  20. set_stone("st-greenbrown",19,4)
  21. set_stone("st-greenbrown",19,5)
  22. set_stone("st-greenbrown",19,6)
  23. set_stone("st-greenbrown",19,7)
  24. set_stone("st-greenbrown_hole",19,8)
  25. set_stone("st-greenbrown",19,9)
  26. set_stone("st-greenbrown",19,10)
  27. set_stone("st-greenbrown",19,11)
  28. set_stone("st-greenbrown",19,12)
  29.  
  30. set_stone("st-greenbrown",2,2)
  31. set_stone("st-greenbrown",3,2)
  32. set_stone("st-greenbrown",4,2)
  33. set_stone("st-greenbrown",5,2)
  34. set_stone("st-greenbrown",6,2)
  35. set_stone("st-greenbrown",6,1)
  36.  
  37. set_stone("st-greenbrown",2,10)
  38. set_stone("st-greenbrown",3,10)
  39. set_stone("st-greenbrown",4,10)
  40. set_stone("st-greenbrown",5,10)
  41. set_stone("st-greenbrown",6,10)
  42. set_stone("st-greenbrown",6,11)
  43.  
  44.  
  45. set_stone("st-greenbrown",19,11)
  46. set_stone("st-greenbrown",20,11)
  47. set_stone("st-greenbrown",21,11)
  48. set_stone("st-greenbrown",23,11)
  49. set_stone("st-greenbrown",24,11)
  50. set_stone("st-greenbrown",25,11)
  51. set_stone("st-greenbrown",26,11)
  52. set_stone("st-greenbrown",27,11)
  53. set_stone("st-greenbrown",28,11)
  54. set_stone("st-greenbrown",29,11)
  55. set_stone("st-greenbrown",30,11)
  56. set_stone("st-greenbrown",31,11)
  57. set_stone("st-greenbrown",32,11)
  58. set_stone("st-greenbrown",33,11)
  59. set_stone("st-greenbrown",34,11)
  60. set_stone("st-greenbrown",35,11)
  61. set_stone("st-greenbrown",36,11)
  62. set_stone("st-greenbrown",38,11)
  63.  
  64. set_stone("st-door", 23, 6 , {name="door1", type="v"})
  65. set_item("it-trigger", 22,11, {action="openclose", target="door1"})
  66.  
  67. set_stone("st-door", 37, 4 , {name="door2", type="h"})
  68. set_item("it-trigger", 27,4, {action="openclose", target="door2"})
  69.  
  70. set_stone("st-door", 4, 1 , {name="door4", type="v"})
  71. set_stone("st-key_a", 7, 11, {action="openclose", target="door4"})
  72. set_item("it-key_a", 37 ,10)
  73.  
  74. set_stone("st-brownie",30,7)
  75.  
  76. fill_floor("fl-space", 25,1, 7,10)
  77. fill_floor("fl-space", 32,1, 4,8)
  78. fill_floor("fl-space", 36,1, 1,3)
  79. fill_floor("fl-inverse", 24,1, 1,10)
  80. fill_floor("fl-metal", 24,6, 1,1)
  81. fill_floor("fl-metal", 30,3, 2,2)
  82. fill_floor("fl-metal", 31,7, 2,2)
  83.  
  84. set_stone("st-greenbrown",36,9)
  85. set_stone("st-greenbrown",36,8)
  86. set_stone("st-greenbrown",36,7)
  87. set_stone("st-greenbrown",36,6)
  88. set_stone("st-greenbrown",36,5)
  89. set_stone("st-greenbrown",36,4)
  90. set_stone("st-greenbrown",35,9)
  91. set_stone("st-greenbrown",34,9)
  92. set_stone("st-greenbrown",33,9)
  93. set_stone("st-greenbrown",32,9)
  94. set_stone("st-greenbrown",32,10)
  95.  
  96. set_stone("st-greenbrown",23,1)
  97. set_stone("st-greenbrown",23,2)
  98. set_stone("st-greenbrown",23,3)
  99. set_stone("st-greenbrown",23,4)
  100. set_stone("st-greenbrown",23,5)
  101. set_stone("st-greenbrown",23,7)
  102. set_stone("st-greenbrown",23,8)
  103. set_stone("st-greenbrown",23,9)
  104. set_stone("st-greenbrown",23,10)
  105. set_stone("st-greenbrown",23,11)
  106.  
  107. set_stone("st-greenbrown",17,5)
  108. set_stone("st-greenbrown",17,7)
  109.  
  110. set_attrib(laser(0,6, TRUE, EAST), "name", "laser")
  111.  
  112. set_stone("st-bolder", 22,1, {direction=SOUTH})
  113. set_stone("st-bolder", 22,2, {direction=WEST})
  114. set_stone("st-bolder", 22,3, {direction=WEST})
  115. set_stone("st-bolder", 22,4, {direction=WEST})
  116. set_stone("st-bolder", 22,5, {direction=WEST})
  117. set_stone("st-bolder", 22,6, {direction=WEST})
  118. set_stone("st-bolder", 22,7, {direction=WEST})
  119. set_stone("st-bolder", 22,8, {direction=WEST})
  120. set_stone("st-bolder", 22,9, {direction=WEST})
  121. set_stone("st-bolder", 22,10, {direction=WEST})
  122.  
  123. draw_stones("st-stone_break", {21,1}, {0,1},10)
  124.  
  125. hammer(2,1)
  126.  
  127. set_item("it-trigger", 18,7, {invisible=1,action="open", target="door3"})
  128.  
  129. door3=enigma.GetNamedObject("door3")
  130.  
  131. set_stone("st-door_b", 17,6, {name="door3", type="v"})
  132.  
  133. set_actor("ac-blackball" ,10, 4, {player=0})