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

  1. levelw = 20
  2. levelh = 13
  3.  
  4. create_world(levelw, levelh)
  5. draw_border("st-rock2")
  6. fill_floor("fl-rough", 0,0, level_width,level_height)
  7.  
  8.  
  9. oxyd(2,2)
  10. oxyd(level_width-3,level_height-3)
  11.  
  12. draw_stones("st-rock2", {5,1}, {0,1}, 11)
  13. set_stone("st-door", 5, 10 , {name="door1", type="v"})
  14.  
  15. draw_stones("st-rock2", {14,1}, {0,1}, 11)
  16. set_stone("st-door", 14, 2 , {name="door2", type="v"})
  17.  
  18.  
  19. shogundot3(9,6, {target="door1", action="openclose"})
  20. shogundot3(10,6, {target="door2", action="openclose"})
  21. set_stone("st-shogun", 10,7, {holes=7})
  22.  
  23.  
  24.  
  25. set_actor("ac-blackball", 10,9.5, {player=0})
  26.  
  27.