Advertisement
Guest User

Untitled

a guest
Dec 7th, 2019
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.62 KB | None | 0 0
  1. quest shops begin
  2. state start begin
  3. when 9002.chat."PvP-Equipment" begin
  4. npc.open_shop(4)
  5. setskin(NOWINDOW)
  6. end
  7. when 9002.chat."Rüstungskostüme" begin
  8. local s = select("Krieger-Rüstungen", "Ninja-Rüstungen", "Sura-Rüstungen", "Schamanen-Rüstungen")
  9. if s == 1 then
  10. local d = select("Normale Rüstungen", "Farbige Rüstungen", "King Rüstungen")
  11. if d == 1 then
  12. npc.open_shop(90)
  13. setskin(NOWINDOW)
  14. end
  15. if d == 2 then
  16. npc.open_shop(91)
  17. setskin(NOWINDOW)
  18. end
  19. if d == 3 then
  20. npc.open_shop(92)
  21. setskin(NOWINDOW)
  22. end
  23. end
  24. local f = select("Normale Rüstungen", "Farbige Rüstungen", "King Rüstungen")
  25. if f == 1 then
  26. npc.open_shop(100)
  27. setskin(NOWINDOW)
  28. end
  29. if f == 2 then
  30. npc.open_shop(101)
  31. setskin(NOWINDOW)
  32. end
  33. if f == 3 then
  34. npc.open_shop(102)
  35. setskin(NOWINDOW)
  36. end
  37. end
  38. local g = select("Normale Rüstungen", "Farbige Rüstungen", "King Rüstungen")
  39. if g == 1 then
  40. npc.open_shop(110)
  41. setskin(NOWINDOW)
  42. end
  43. if g == 2 then
  44. npc.open_shop(111)
  45. setskin(NOWINDOW)
  46. end
  47. if g == 3 then
  48. npc.open_shop(112)
  49. setskin(NOWINDOW)
  50. end
  51. end
  52. local h = select("Normale Rüstungen", "Farbige Rüstungen", "King Rüstungen")
  53. if h == 1 then
  54. npc.open_shop(120)
  55. setskin(NOWINDOW)
  56. end
  57. if h == 2 then
  58. npc.open_sop(121)
  59. setskin(NOWINDOW)
  60. end
  61. if h == 3 then
  62. npc.open_shop(122)
  63. setskin(NOWINDOW)
  64. end
  65. end
  66. when 9002.chat."Rüstungsshinings" begin
  67. npc.open_shop(130)
  68. setskin(NOWINDOW)
  69. end
  70. end
  71. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement