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

  1. -- Siegfried Fennig 16.01.2003 Rev. 0
  2.  
  3. levelw = 153
  4. levelh =  61
  5.  
  6. create_world(levelw, levelh)
  7. fill_floor("fl-space", 0,0, level_width,level_height)
  8.  
  9. oxyd(  8, 6)
  10. oxyd( 27, 6)
  11. oxyd( 46, 6)
  12. oxyd( 65, 6)
  13. oxyd( 84, 6)
  14. oxyd(103, 6)
  15. oxyd(122, 6)
  16. oxyd(141, 6)
  17. oxyd(  8,18)
  18. oxyd( 27,18)
  19. oxyd( 46,18)
  20. oxyd( 65,18)
  21. oxyd( 84,18)
  22. oxyd(103,18)
  23. oxyd(122,18)
  24. oxyd(141,18)
  25.  
  26. oxyd_shuffle()
  27.  
  28. function basis1( x, y)
  29.        draw_stones("st-rock5", { x, y},     {1,0}, 8)
  30.        draw_stones("st-rock5", { x, y+4},   {1,0}, 8)
  31.        draw_stones("st-rock5", { x, y+1},   {0,1}, 3)
  32.        draw_stones("st-rock5", { x+7, y+1}, {0,1}, 3)
  33.        draw_floor("fl-gradient", {x+1,y+2}, {0,1}, 1, {type=3})
  34.        draw_floor("fl-gradient", {x+2, y+1},{1,0}, 4, {type=1})
  35.        draw_floor("fl-gradient", {x+6,y+2}, {0,1}, 1, {type=4})
  36.        draw_floor("fl-gradient", {x+2,y+3}, {1,0}, 4, {type=2})
  37.        set_floor("fl-gradient",   x+1, y+1,           {type=5})
  38.        set_floor("fl-gradient",   x+6, y+1,           {type=6})
  39.        set_floor("fl-gradient",   x+1, y+3,           {type=7})
  40.        set_floor("fl-gradient",   x+6, y+3,           {type=8})
  41.        fill_floor("fl-normal",    x+2,y+2, 4,1)
  42.        set_item("it-hollow",      x+4,y+2)
  43. end
  44.  
  45. basis1 (  6, 4)
  46. basis1 ( 25, 4)
  47. basis1 ( 44, 4)
  48. basis1 ( 63, 4)
  49. basis1 ( 82, 4)
  50. basis1 (101, 4)
  51. basis1 (120, 4)
  52. basis1 (139, 4)
  53. basis1 (  6,16)
  54. basis1 ( 25,16)
  55. basis1 ( 44,16)
  56. basis1 ( 63,16)
  57. basis1 ( 82,16)
  58. basis1 (101,16)
  59. basis1 (120,16)
  60. basis1 (139,16)
  61.  
  62. function basis2( x, y)
  63.        fill_floor("fl-metal",     x+1,y+3, 18,7)
  64.        draw_stones("st-rock5",   {x, y+2},    {1,0},20)
  65.        draw_stones("st-rock5",   {x, y+10},   {1,0},20)
  66.        draw_stones("st-rock5",   {x, y+3},    {0,1}, 7)
  67.        draw_stones("st-rock5",   {x+19, y+3}, {0,1}, 7)
  68.        draw_floor("fl-gradient", {x+1,y+5}, {0,1}, 1, {type=3})
  69.        draw_floor("fl-gradient", {x+2, y+4},{1,0},16, {type=1})
  70.        draw_floor("fl-gradient", {x+18,y+5},{0,1}, 1, {type=4})
  71.        draw_floor("fl-gradient", {x+2,y+6}, {1,0},16, {type=2})
  72.        set_floor("fl-gradient",   x+1, y+4,           {type=5})
  73.        set_floor("fl-gradient",   x+18, y+4,          {type=6})
  74.        set_floor("fl-gradient",   x+1, y+6,           {type=7})
  75.        set_floor("fl-gradient",   x+18, y+6,          {type=8})
  76.        fill_floor("fl-normal",    x+2,y+5, 16,1)
  77.        set_item("it-hollow",      x+10,y+8)
  78. end
  79.  
  80. basis2 (38,48)
  81. basis2 (95,48)
  82.  
  83. SetDefaultAttribs("it-wormhole", {range=1.0, strength=10})
  84.  
  85. set_item("it-wormhole", 11, 6, {targetx="48.5",targety="56.5"})
  86. set_item("it-wormhole", 30, 6, {targetx="48.5",targety="56.5"})
  87. set_item("it-wormhole", 49, 6, {targetx="105.5",targety="56.5"})
  88. set_item("it-wormhole", 68, 6, {targetx="105.5",targety="56.5"})
  89. set_item("it-wormhole", 87, 6, {targetx="48.5",targety="56.5"})
  90. set_item("it-wormhole",106, 6, {targetx="48.5",targety="56.5"})
  91. set_item("it-wormhole",125, 6, {targetx="105.5",targety="56.5"})
  92. set_item("it-wormhole",144, 6, {targetx="105.5",targety="56.5"})
  93. set_item("it-wormhole", 11,18, {targetx="48.5",targety="56.5"})
  94. set_item("it-wormhole", 30,18, {targetx="48.5",targety="56.5"})
  95. set_item("it-wormhole", 49,18, {targetx="105.5",targety="56.5"})
  96. set_item("it-wormhole", 68,18, {targetx="105.5",targety="56.5"})
  97. set_item("it-wormhole", 87,18, {targetx="48.5",targety="56.5"})
  98. set_item("it-wormhole",106,18, {targetx="48.5",targety="56.5"})
  99. set_item("it-wormhole",125,18, {targetx="105.5",targety="56.5"})
  100. set_item("it-wormhole",144,18, {targetx="105.5",targety="56.5"})
  101.  
  102. set_item("it-wormhole", 40,53, {targetx="10.5",targety="6.5"})
  103. set_item("it-wormhole", 41,53, {targetx="29.5",targety="6.5"})
  104. set_item("it-wormhole", 42,53, {targetx="48.5",targety="6.5"})
  105. set_item("it-wormhole", 43,53, {targetx="67.5",targety="6.5"})
  106. set_item("it-wormhole", 44,53, {targetx="86.5",targety="6.5"})
  107. set_item("it-wormhole", 45,53, {targetx="105.5",targety="6.5"})
  108. set_item("it-wormhole", 46,53, {targetx="124.5",targety="6.5"})
  109. set_item("it-wormhole", 47,53, {targetx="143.5",targety="6.5"})
  110. set_item("it-wormhole", 48,53, {targetx="10.5",targety="18.5"})
  111. set_item("it-wormhole", 49,53, {targetx="29.5",targety="18.5"})
  112. set_item("it-wormhole", 50,53, {targetx="48.5",targety="18.5"})
  113. set_item("it-wormhole", 51,53, {targetx="67.5",targety="18.5"})
  114. set_item("it-wormhole", 52,53, {targetx="86.5",targety="18.5"})
  115. set_item("it-wormhole", 53,53, {targetx="105.5",targety="18.5"})
  116. set_item("it-wormhole", 54,53, {targetx="124.5",targety="18.5"})
  117. set_item("it-wormhole", 55,53, {targetx="143.5",targety="18.5"})
  118.  
  119. set_item("it-wormhole", 97,53, {targetx="10.5",targety="18.5"})
  120. set_item("it-wormhole", 98,53, {targetx="29.5",targety="18.5"})
  121. set_item("it-wormhole", 99,53, {targetx="48.5",targety="18.5"})
  122. set_item("it-wormhole",100,53, {targetx="67.5",targety="18.5"})
  123. set_item("it-wormhole",101,53, {targetx="86.5",targety="18.5"})
  124. set_item("it-wormhole",102,53, {targetx="105.5",targety="18.5"})
  125. set_item("it-wormhole",103,53, {targetx="124.5",targety="18.5"})
  126. set_item("it-wormhole",104,53, {targetx="143.5",targety="18.5"})
  127. set_item("it-wormhole",105,53, {targetx="10.5",targety="6.5"})
  128. set_item("it-wormhole",106,53, {targetx="29.5",targety="6.5"})
  129. set_item("it-wormhole",107,53, {targetx="48.5",targety="6.5"})
  130. set_item("it-wormhole",108,53, {targetx="67.5",targety="6.5"})
  131. set_item("it-wormhole",109,53, {targetx="86.5",targety="6.5"})
  132. set_item("it-wormhole",110,53, {targetx="105.5",targety="6.5"})
  133. set_item("it-wormhole",111,53, {targetx="124.5",targety="6.5"})
  134. set_item("it-wormhole",112,53, {targetx="143.5",targety="6.5"})
  135.  
  136. draw_stones( "st-magic", { 39,57}, {1,0}, 1)
  137. draw_stones( "st-magic", { 96,57}, {1,0}, 2)
  138.  
  139. display.SetFollowMode(display.FOLLOW_SCROLLING)
  140.  
  141. set_actor("ac-blackball", 48.5, 56.5,{player=0})
  142.