Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.89 KB | None | 0 0
  1. quest gatekeeper begin
  2.     state start begin
  3.         when 9997.chat."Chce sie przeniesc" begin
  4.             local s=select("Darmowe","Platne","Premium","Mapa handlowa","Wyjscie")
  5.             if s==5 then
  6.                 say("Zegnaj")
  7.                 return
  8.             end
  9.             if s==4 then
  10.                 pc.warp(999900+13000,999900+3500)
  11.             end
  12.             if s==1 then
  13.                 say("Dokonaj wyboru:")
  14.                 local a=select("Miasta","Wyjscie")
  15.                 if a==1 then
  16.                     local aa=select("Jinno M1","Jinno M2","Shinsoo M1","Shinsoo M2","Chunjo M1","Chunjo M2","Wyjscie")
  17.                     if aa==7 then
  18.                         say("Zegnaj")
  19.                         return
  20.                     end
  21.                     if aa==1 then
  22.                         pc.warp(969600, 278400)
  23.                     end
  24.                     if aa==2 then
  25.                         pc.warp(873100, 242600)
  26.                     end
  27.                     if aa==3 then
  28.                         pc.warp(469300, 964200)
  29.                     end
  30.                     if aa==4 then
  31.                         pc.warp(360800, 877600)
  32.                     end
  33.                     if aa==5 then
  34.                         pc.warp(55700, 157900)
  35.                     end
  36.                     if aa==6 then
  37.                         pc.warp(138500, 234900)
  38.                     end
  39.                 end
  40.                 if a==2 then
  41.                     say("Zegnaj")
  42.                     return
  43.                 end
  44.             end
  45.             if s==2 then
  46.                 say("Musisz posiadac przepustke!")
  47.                 say("Dokonaj wyboru:")
  48.                 local b=select("Expowiska","Wyjscie")
  49.                     if b==2 then
  50.                         say("Zegnaj")
  51.                         return
  52.                     end
  53.                     if b==1 then
  54.                         say("Strona 1/2")
  55.                         say("Dokonaj wyboru:")
  56.                         local bb=select("Dolina Orkow","Pustynia","Gora Sohan","Ogniste Ziemie","Wieza Demonow","Las Duchow",">> Strona 2 <<","Wyjscie")
  57.                         if bb==8 then
  58.                             say("Zagnaj")
  59.                         end
  60.                         if bb==7 then
  61.                             say("Strona 2/2")
  62.                             say("Dokonaj wyboru:")
  63.                             local bbb=select("Loch Pajakow","Wezowe Pole","Atlantyda","Czerwony Las","Kraina Olbrzymow","Wyjscie")
  64.                             if bbb==6 then
  65.                                 say("Zegnaj")
  66.                                 return
  67.                             end
  68.                             if bbb==1 and pc.count_item(71122)>=1 then
  69.                                 pc.warp(60000 , 496000)
  70.                                 pc.remove_item(71122)
  71.                             end
  72.                             if bbb==2 and pc.count_item(71122)>=1 then
  73.                                 pc.warp(1049600+9400, 716800+9400)
  74.                                 pc.remove_item(71122)
  75.                             end
  76.                             if bbb==3 and pc.count_item(71122)>=1 then
  77.                                 pc.warp(284200, 810500)
  78.                                 pc.remove_item(71122)
  79.                             end
  80.                             if bbb==4 and pc.count_item(71122)>=1 then
  81.                                 pc.warp(1119900, 70800)
  82.                                 pc.remove_item(71122)
  83.                             end
  84.                             if bbb==5 and pc.count_item(71122)>=1 then
  85.                                 pc.warp(819200, 716800)
  86.                                 pc.remove_item(71122)
  87.                                 else
  88.                                 say("Nie posiadasz przepustki!")
  89.                                 return
  90.                             end
  91.                         end
  92.                         if bb==1 and pc.count_item(71122)>=1 then
  93.                                 pc.remove_item(71122)
  94.                             local empire = pc . get_empire ( )
  95.                             if empire==1 then
  96.                             pc.warp(402100, 673900)
  97.                             end
  98.                             if empire==2 then
  99.                             pc.warp(270400, 739900)
  100.                             end
  101.                             if empire==3 then
  102.                             pc.warp(321300, 808000)
  103.                             end
  104.                         end
  105.                         if bb==2 and pc.count_item(71122)>=1 then
  106.                             pc.remove_item(71122)
  107.                             local empire = pc . get_empire ( )
  108.                             if empire==1 then
  109.                             pc.warp(217800, 627200)
  110.                             end
  111.                             if empire==2 then
  112.                             pc.warp(221900, 502700)
  113.                             end
  114.                             if empire==3 then
  115.                             pc.warp(344000, 502500)
  116.                             end
  117.                         end
  118.                         if bb==3 and pc.count_item(71122)>=1 then
  119.                                 pc.remove_item(71122)
  120.                             local empire = pc . get_empire ( )
  121.                             if empire==1 then
  122.                             pc.warp(434200, 290600)
  123.                             end
  124.                             if empire==2 then
  125.                             pc.warp(375200, 174900)
  126.                             end
  127.                             if empire==3 then
  128.                             pc.warp(491800, 173600)
  129.                             end
  130.                         end
  131.                         if bb==4 and pc.count_item(71122)>=1 then
  132.                                 pc.remove_item(71122)
  133.                             local empire = pc . get_empire ( )
  134.                             if empire==1 then
  135.                             pc.warp(599400, 756300)
  136.                             end
  137.                             if empire==2 then
  138.                             pc.warp(597800, 622200)
  139.                             end
  140.                             if empire==3 then
  141.                             pc.warp(730700, 689800)
  142.                             end
  143.                         end
  144.                         if bb==5 and pc.count_item(71122)>=1 then
  145.                                 pc.remove_item(71122)
  146.                             pc.warp(590500, 110800)
  147.                         end
  148.                         if bb==6 and pc.count_item(71122)>=1 then
  149.                                 pc.remove_item(71122)
  150.                             pc.warp(288700, 5700)
  151.                                                     else
  152.                         say("Nie posiadasz przepustki!")
  153.                         end
  154.  
  155.                     end
  156.             end
  157.             if s==3 then
  158.                 local c=select("Pustynia Demonow","Wyjscie")
  159.                 if c==2 then
  160.                     say("Zegnaj")
  161.                     return
  162.                 end
  163.                 if c==1 then
  164.                     if pc.get_level()>=100 and pc.count_item(90034)>=1 and pc.count_item(30054)<1and pc.count_item(22010)<1 and pc.count_item(22000)<1 and pc.count_item(72001)<1 and pc.count_item(72002)<1 and pc.count_item(72003)<1 and pc.count_item(71015)<1 and pc.count_item(70005)<1 then
  165.                     pc.warp(777700+5400,777700+7100)
  166.                     pc.remove_item(90034,1)
  167.                    
  168.                     else
  169.                         say("Nie posiadasz Przepustki+!")
  170.                         say("Lub")
  171.                         say("Nie mozesz sie teleportowac z Obrączka Ślubna")
  172.                         say("Lub")
  173.                         say("Nie mozesz sie teleportowac z zwojem powrotu")
  174.                         say("Lub")
  175.                         say("Nie mozesz sie teleportowac z pierscieniem expa.")
  176.                         say("Wejscie od 100lvl")
  177.                     end
  178.                 end
  179.             end
  180.         end
  181.     end
  182. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement