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

  1. -- Siegfried Fennig 09.01.2003 Rev. 0
  2.  
  3. levelw = 20
  4. levelh = 13
  5.  
  6. create_world(levelw, levelh)
  7. draw_border("st-rock4")
  8. fill_floor("fl-normal", 0,0, level_width,level_height)
  9.  
  10. oxyd_default_flavor = "d"
  11.  
  12. oxyd ( 5, 5)
  13. oxyd (14, 4)
  14. oxyd ( 1, 6)
  15. oxyd ( 4, 9)
  16. oxyd (18, 3)
  17. oxyd (18, 8)
  18.  
  19. oxyd_shuffle()
  20.  
  21. fill_floor("fl-abyss", 1, 1,18, 1)
  22. fill_floor("fl-abyss", 1, 2, 3, 1)
  23. fill_floor("fl-abyss", 3, 4, 1, 3)
  24. fill_floor("fl-abyss", 3, 7, 6, 1)
  25. fill_floor("fl-abyss", 8, 4, 1, 3)
  26. fill_floor("fl-abyss", 9, 4, 2, 1)
  27. fill_floor("fl-abyss",10, 5, 2, 1)
  28. fill_floor("fl-abyss",12, 4, 1, 2)
  29. fill_floor("fl-abyss",12, 2, 5, 1)
  30. fill_floor("fl-abyss",17, 2, 1, 3)
  31. fill_floor("fl-abyss",16, 4, 1, 4)
  32. fill_floor("fl-abyss", 1, 2, 3, 1)
  33. fill_floor("fl-abyss", 9, 9, 6, 1)
  34. fill_floor("fl-abyss",14, 8, 3, 1)
  35. fill_floor("fl-abyss",17,10, 2, 1)
  36. fill_floor("fl-abyss", 5,10, 2, 1)
  37. fill_floor("fl-abyss", 7, 9, 1, 2)
  38. fill_floor("fl-abyss", 1,11,18, 1)
  39.  
  40. set_stone("st-oneway", 3, 3, {orientation=enigma.WEST})
  41. set_stone("st-oneway",12, 3, {orientation=enigma.WEST})
  42.  
  43. set_item("it-hollow", 4, 3)
  44. set_item("it-hollow",10,10)
  45. set_item("it-hollow",17, 8)
  46. set_item("it-hill", 2, 5)
  47. set_item("it-hill", 5, 9)
  48. set_item("it-hill", 7, 5)
  49. set_item("it-hill",11, 3)
  50. set_item("it-hill",12, 8)
  51. set_item("it-hill",15,10)
  52. set_item("it-hill",16, 3)
  53. set_item("it-tinyhollow", 1,10)
  54. set_item("it-tinyhollow", 7, 8)
  55. set_item("it-tinyhollow", 9, 2)
  56. set_item("it-tinyhollow",11, 4)
  57. set_item("it-tinyhollow",18, 7)
  58. set_item("it-tinyhill", 1, 7)
  59. set_item("it-tinyhill", 8, 3)
  60. set_item("it-tinyhill", 8, 9)
  61. set_item("it-tinyhill", 9, 6)
  62. set_item("it-tinyhill",15, 7)
  63. set_item("it-tinyhill",17, 5)
  64. set_item("it-tinyhill",18, 9)
  65. set_item("it-crack", 2, 3, {type=3})
  66. set_item("it-crack", 1, 3, {type=1})
  67. set_item("it-crack", 1, 4, {type=2})
  68. set_item("it-crack", 1, 5, {type=1})
  69. set_item("it-crack", 2, 4, {type=1})
  70. set_item("it-spade",12, 3)
  71.  
  72. SetDefaultAttribs("it-wormhole", {range=1.0, strength=5})
  73. set_item("it-wormhole", 3, 3, {targetx="1.5",targety="10.5"})
  74.  
  75. function basis( x, y)
  76.        set_floor("fl-gradient",   x, y,         {type=12})
  77.        set_floor("fl-gradient",   x+1, y,       {type=10})
  78.        set_floor("fl-gradient",   x, y+1,       {type=11})
  79.        set_floor("fl-gradient",   x+1, y+1,     {type=9})
  80. end
  81.  
  82. basis ( 5, 3)
  83. basis ( 2, 8)
  84. basis ( 9, 7)
  85. basis (13, 5)
  86.  
  87. set_actor("ac-blackball",11.5,7.5,{player=0})