Advertisement
Guest User

Untitled

a guest
Sep 14th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.85 KB | None | 0 0
  1. quest seon begin
  2. state start begin
  3.  
  4. when 9004.chat."Przedmioty" begin
  5. local fm = select("Przedmioty Specjalne", "Pety", "Przedmioty do Biologa", "Ulepszacze i Przepustki", "Zamknij")
  6. if fm == 1 then
  7. npc . open_shop( 12 )
  8. setskin(NOWINDOW)
  9. elseif fm == 2 then
  10. npc . open_shop( 13 )
  11. setskin(NOWINDOW)
  12. elseif fm == 3 then
  13. npc . open_shop( 14 )
  14. setskin(NOWINDOW)
  15. elseif fm == 4 then
  16. npc . open_shop( 15 )
  17. setskin(NOWINDOW)
  18. -- elseif fm == 5 then
  19. -- npc . open_shop( 16 )
  20. -- setskin(NOWINDOW)
  21. -- elseif fm == 6 then
  22. -- npc . open_shop( 17 )
  23. -- setskin(NOWINDOW)
  24. end
  25. end
  26.  
  27. when 9004.chat."Bronie" begin
  28. local b = select("Miecze Jednoręczne - Wojownik", "Miecze Jednoręczne - Sura", "Miecze Dwuręczne", "Sztylety", "Wachlarze", "Dzwony", "Łuki", "Zamknij")
  29. if b == 1 then
  30. npc . open_shop( 18 )
  31. setskin(NOWINDOW)
  32. elseif b == 2 then
  33. npc . open_shop( 19 )
  34. setskin(NOWINDOW)
  35. elseif b == 3 then
  36. npc . open_shop( 20 )
  37. setskin(NOWINDOW)
  38. elseif b == 4 then
  39. npc . open_shop( 21 )
  40. setskin(NOWINDOW)
  41. elseif b == 5 then
  42. npc . open_shop( 22 ) --wachlarze
  43. setskin(NOWINDOW)
  44. elseif b == 6 then
  45. npc . open_shop( 23 ) -- dzwony
  46. setskin(NOWINDOW)
  47. elseif b == 7 then
  48. npc . open_shop( 24 )
  49. setskin(NOWINDOW)
  50. end
  51. end
  52.  
  53. when 9004.chat."Zbroje" begin
  54. local z = select("Zbroje Wojownik", "Zbroje Ninja", "Zbroje Sura", "Zbroje Szaman", "Zamknij")
  55. if z == 1 then
  56. npc . open_shop( 25 )
  57. setskin(NOWINDOW)
  58. elseif z == 2 then
  59. npc . open_shop( 26 )
  60. setskin(NOWINDOW)
  61. elseif z == 3 then
  62. npc . open_shop( 27 )
  63. setskin(NOWINDOW)
  64. elseif z == 4 then
  65. npc . open_shop( 28 )
  66. setskin(NOWINDOW)
  67. end
  68. end
  69.  
  70. when 9004.chat."Biżuteria" begin
  71. local bi = select("Hełmy", "Tarcze", "Kolczyki", "Bransolety", "Naszyjniki", "Buty")
  72. if bi == 1 then
  73. npc . open_shop( 29 )
  74. setskin(NOWINDOW)
  75. elseif bi == 2 then
  76. npc . open_shop ( 30 )
  77. setskin(NOWINDOW)
  78. elseif bi == 3 then
  79. npc . open_shop ( 31 )
  80. setskin(NOWINDOW)
  81. elseif bi == 4 then
  82. npc . open_shop ( 32 )
  83. setskin(NOWINDOW)
  84. elseif bi == 5 then
  85. npc . open_shop ( 33 )
  86. setskin(NOWINDOW)
  87. elseif bi == 6 then
  88. npc . open_shop ( 34 )
  89. setskin(NOWINDOW)
  90. end
  91. end
  92.  
  93. when 9004.chat."Fryzury" begin
  94. local f = select("Fryzury Mężczyzna", "Fryzury Kobieta", "Zamknij")
  95. if f == 1 then
  96. local fm = select("Fryzury Wojownik (M)", " Fryzury Sura (M)", "Fryzury Ninja (M)", "Fryzury Szaman (M)", "Zamknij")
  97. if fm == 1 then
  98. npc . open_shop( 36 )
  99. setskin(NOWINDOW)
  100. elseif fm == 2 then
  101. npc . open_shop( 37 )
  102. setskin(NOWINDOW)
  103. elseif fm == 3 then
  104. npc . open_shop( 38 )
  105. setskin(NOWINDOW)
  106. elseif fm == 4 then
  107. npc . open_shop( 39 )
  108. setskin(NOWINDOW)
  109. end
  110. elseif f == 2 then
  111. local fk = select("Fryzury Wojownik (K)", " Fryzury Sura (K)", "Fryzury Ninja (K)", "Fryzury Szaman (K)", "Zamknij")
  112. if fk == 1 then
  113. npc . open_shop( 41 )
  114. setskin(NOWINDOW)
  115. elseif fk == 2 then
  116. npc . open_shop( 42 )
  117. setskin(NOWINDOW)
  118. elseif fk == 3 then
  119. npc . open_shop( 43 )
  120. setskin(NOWINDOW)
  121. elseif fk == 4 then
  122. npc . open_shop( 44 )
  123. setskin(NOWINDOW)
  124. end
  125. end
  126. end
  127. end
  128. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement