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

  1. create_world(20, 13)
  2. draw_border("st-rock2")
  3. fill_floor("fl-gray", 0,0, level_width,level_height)
  4.  
  5. oxyd(1,1)
  6. oxyd(level_width-2,level_height-2)
  7. oxyd(level_width-2, 1)
  8. oxyd(1,level_height-2)
  9.  
  10. fakeoxyd(1,2)
  11. fakeoxyd(level_width-3,1)
  12. fakeoxyd(2,11)
  13. fakeoxyd(18,10)
  14.  
  15. draw_stones("st-rock2", {1,level_height/2}, {1,0}, level_width-2)
  16. draw_stones("st-rock2", {level_width/2,1}, {0,1}, level_height/2-1)
  17. draw_stones("st-rock2", {level_width/2-1,level_height/2}, {0,1}, level_height/2)
  18.  
  19. oneway(5,level_height/2, enigma.SOUTH)
  20. oneway(9,9, enigma.EAST)
  21. oneway(10,3, enigma.EAST)
  22. oneway(14,6, enigma.SOUTH)
  23.  
  24. document(4,4, "Look closely!")
  25. document(15,8, "... press F3 to try again ...")
  26.  
  27. draw_stones("st-grate1", {9,1},{0,1},5)
  28. draw_stones("st-grate1", {11,1},{0,1},5)
  29. draw_stones("st-grate1", {8,7},{0,1},5)
  30. draw_stones("st-grate1", {10,7},{0,1},5)
  31. set_item("it-magicwand",11,1)
  32. set_item("it-yinyang", 12,1)
  33. set_actor("ac-whiteball", 7,5, {player=1})
  34. set_actor("ac-blackball", 14,5, {player=0})
  35.  
  36.