L3oogie

vaduvaliviubogdanboogiemagazindeediversedatanasterii25051996

Apr 4th, 2018
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.22 KB | None | 0 0
  1. quest l3oogie_Magazin_General begin
  2.    state start begin
  3.  
  4.  
  5. --------------------Incepe in Limba Romana-----------------
  6.  
  7.  
  8.      when 9003.chat"Limba Română" begin
  9.               say_size(250, 300)
  10.               addimage ( - 85 , - 90 , "002.tga" )
  11.               say_title("Salutare calatorule.")
  12.               say_alb("Pentru efortul tau depus de-a lungul[ENTER]timpului, pentru a mentine pacea intre[ENTER]regate, apararea satenilor de monstrii[ENTER]fiorosi si intunericul pietrelor metin,[ENTER]eu ti-am pus la dispozitie o sumedenie[ENTER]de magazine drept multumire.")
  13.               say_verde("Vei vedea magazinele pe urmatoare pagina.[ENTER][ENTER]")
  14.  
  15.  
  16.               wait()
  17.  
  18.  
  19.           local AlegeMagazin = select("Potiuni", "Obiecte Speciale", "Finisaje", "Nunta", "Inchideti")
  20.  
  21.             if AlegeMagazin == 1 then
  22.                say_title("Potiuni:[ENTER]")
  23.                say_alb("Doriti ca sa deschideti magazinul pentru Potiuni?[ENTER][ENTER][ENTER][ENTER]")
  24.               local hotarare1 = select("Da", "Nu")
  25.              if hotarare1 == 1 then
  26.            npc.open_shop(StergeAstaSiBagaCodulVnumDeLaShop)
  27.              elseif hotarare1 == 2 then
  28.               return
  29.              end
  30.  
  31.  
  32.             elseif AlegeMagazin == 2 then
  33.                say_title("Obiecte Speciale:[ENTER]")
  34.                say_alb("Doriti ca sa deschideti magazinul pentru Obiecte speciale?[ENTER][ENTER][ENTER][ENTER]")
  35.               local hotarare2 = select("Da", "Nu")
  36.              if hotarare2 == 1 then
  37.            npc.open_shop(StergeAstaSiBagaCodulVnumDeLaShop)
  38.              elseif hotarare2 == 2 then
  39.               return
  40.              end
  41.  
  42.  
  43.             elseif AlegeMagazin == 3 then
  44.                say_title("Finisaje:[ENTER]")
  45.                say_alb("Doriti ca sa deschideti magazinul pentru Finisaje[ENTER][ENTER][ENTER][ENTER]")
  46.               local hotarare3 = select("Da", "Nu")
  47.              if hotarare3 == 1 then
  48.            npc.open_shop(StergeAstaSiBagaCodulVnumDeLaShop)
  49.              elseif hotarare3 == 2 then
  50.               return
  51.              end
  52.  
  53.  
  54.             elseif AlegeMagazin == 4 then
  55.                say_title("Nunta:[ENTER]")
  56.                say_alb("Doriti ca sa deschideti magazinul pentru Nunta?[ENTER][ENTER][ENTER][ENTER]")
  57.               local hotarare4 = select("Da", "Nu")
  58.              if hotarare4 == 1 then
  59.            npc.open_shop(StergeAstaSiBagaCodulVnumDeLaShop)
  60.              elseif hotarare4 == 2 then
  61.               return
  62.              end
  63.  
  64.  
  65.  
  66.             elseif AlegeMagazin == 5 then
  67.               return
  68.             end
  69.  
  70.  
  71. setskin(NOWINDOW)
  72.  
  73.  
  74.  
  75.         end
  76.  
  77. ------------------ - Sfarsit la Limba Romana---------------
  78.  
  79.  
  80.  
  81.  
  82. ---------------------Incepe in Limba Engleza---------------
  83.  
  84.  
  85.  
  86.  
  87.        when 9003.chat"English Language" begin
  88.               say_size(250, 300)
  89.               addimage ( - 85 , - 90 , "002.tga" )
  90.               say_title("Hello Travel.")
  91.               say_alb("For your effort over time, to maintain peace[ENTER]among the kingdoms, protect the villagers[ENTER]from the fierce monsters and the darkness[ENTER]of the metin stones, I have provided you[ENTER]with a multitude of stores for thanksgiving.")
  92.              say_verde("You will see the stores on the next page.[ENTER][ENTER]")
  93.  
  94.  
  95.               wait()
  96.  
  97.  
  98.           local AlegeMagazin = select("Potions", "Special Items", "Finishes", "Wedding", "Hang ups")
  99.  
  100.             if AlegeMagazin == 1 then
  101.                say_title("Potions:[ENTER]")
  102.                say_alb("Do you want to open the Potions store?[ENTER][ENTER][ENTER][ENTER]")
  103.               local hotarare1 = select("Yes", "No")
  104.              if hotarare1 == 1 then
  105.            npc.open_shop(StergeAstaSiBagaCodulVnumDeLaShop)
  106.              elseif hotarare1 == 2 then
  107.               return
  108.              end
  109.  
  110.  
  111.             elseif AlegeMagazin == 2 then
  112.                say_title("Special Items:[ENTER]")
  113.                say_alb("Do you want to open the Special Items store?[ENTER][ENTER][ENTER][ENTER]")
  114.               local hotarare2 = select("Yes", "No")
  115.              if hotarare2 == 1 then
  116.            npc.open_shop(StergeAstaSiBagaCodulVnumDeLaShop)
  117.              elseif hotarare2 == 2 then
  118.               return
  119.              end
  120.  
  121.  
  122.             elseif AlegeMagazin == 3 then
  123.                say_title("Finishes:[ENTER]")
  124.                say_alb("Do you want to open the Finishes store?[ENTER][ENTER][ENTER][ENTER]")
  125.               local hotarare3 = select("Yes", "No")
  126.              if hotarare3 == 1 then
  127.            npc.open_shop(StergeAstaSiBagaCodulVnumDeLaShop)
  128.              elseif hotarare3 == 2 then
  129.               return
  130.              end
  131.  
  132.  
  133.             elseif AlegeMagazin == 4 then
  134.                say_title("Wedding:[ENTER]")
  135.                say_alb("Do you want to open the Wedding store?[ENTER][ENTER][ENTER][ENTER]")
  136.               local hotarare4 = select("Yes", "No")
  137.              if hotarare4 == 1 then
  138.            npc.open_shop(StergeAstaSiBagaCodulVnumDeLaShop)
  139.              elseif hotarare4 == 2 then
  140.               return
  141.              end
  142.  
  143.  
  144.  
  145.             elseif AlegeMagazin == 5 then
  146.               return
  147.             end
  148.  
  149.  
  150. setskin(NOWINDOW)
  151.  
  152.  
  153.  
  154.         end
  155.  
  156. ------------------Sfarsit la Limba Engleza-----------------
  157.  
  158.  
  159.  
  160.     end
  161. end
Add Comment
Please, Sign In to add comment