LightMistic

Untitled

Aug 13th, 2013
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. quest warp_mappe_beta begin
  2.     state start begin
  3.         when 20095.chat."Teleporter mappe beta" begin
  4.             local warp = { {1049600, 1510400}, {1024000, 1664000}, {1177600, 1664000}, {1126400, 1510400} }
  5.             local level = { 80, 90, 95, 100 }
  6.             say ("Sei un impavido guerriero,")
  7.             say ("Queste mappe sono sinonimo di morte e desolazione")
  8.             say ("Sei sicuro di volere accedervi?")
  9.             say ("Potresti non farvi più ritorno..")
  10.             wait()
  11.             local mappe = select ("Mappa di Sabbia Nera","Mappa Promontorio del Drago","Bosco Alba di Nebbia","Mappa del Tuono","Chiudi")
  12.             if mappe < 6 and pc.get_level() >= level[mappe] then
  13.                 pc.warp ( warp[mappe][1], warp[mappe][2] )
  14.             else
  15.                 say ("Devi essere al livello "..level[mappe].." ")
  16.             end
  17.         end
  18.     end
  19. end
Advertisement
Add Comment
Please, Sign In to add comment