9
3

ahulkinggorg.lua 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. --[[
  2. Script Name : SpawnScripts/PillarsFlame/FlightCloud.lua
  3. Script Purpose : Tenebrous Tangle Flight Cloud (880048)
  4. Script Author : Neatz09
  5. Script Date : 4/22/2019
  6. Script Notes :
  7. --]]
  8. function respawn(NPC)
  9. spawn(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. conversation = CreateConversation()
  14. AddConversationOption(conversation, "I would like to travel.", "dlg_1_1")
  15. AddConversationOption(conversation, "Nowhere.")
  16. StartConversation(conversation, NPC, Spawn, "Greetings traveler, how can I assist you today?")
  17. end
  18. function dlg_1_1(NPC, Spawn)
  19. FaceTarget(NPC, Spawn)
  20. local con = CreateConversation()
  21. if GetSpawnLocationID(NPC) == 622752 then
  22. --Ravasect Incursion--
  23. AddConversationOption(con, "To Bixie Isle.", "RavToBixie")
  24. AddConversationOption(con, "To Gazer Isle.", "RavToGazer")
  25. AddConversationOption(con, "To Temple Grounds.", "RavToTemple")
  26. elseif GetSpawnLocationID(NPC) == 662668 then
  27. --Vultak Scavenging Site--
  28. AddConversationOption(con, "To Fear Tainted Isle.", "VulToFear")
  29. AddConversationOption(con, "To Halls Landing.", "VulToHalls")
  30. elseif GetSpawnLocationID(NPC) == 622666 then
  31. --Halls Landing--
  32. AddConversationOption(con, "To Vultak Scavenging Site.", "HallsToVul")
  33. elseif GetSpawnLocationID(NPC) == 622758 then
  34. --Hidden Refuge--
  35. AddConversationOption(con, "To Tenebrous Landing.", "RefToTen")
  36. AddConversationOption(con, "To Vicious Breeding Grounds.", "RefToVic")
  37. elseif GetSpawnLocationID(NPC) == 622755 then
  38. --Bixie Isle--
  39. AddConversationOption(con, "To Ravasect Incursion.", "BixieToRav")
  40. AddConversationOption(con, "To Temple Grounds.", "BixieToTemp")
  41. elseif GetSpawnLocationID(NPC) == 622756 then
  42. --Temple Grounds--
  43. AddConversationOption(con, "To Bixie Isle.", "TempToBixie")
  44. AddConversationOption(con, "To Ravasect Incursion.", "TempToRav")
  45. elseif GetSpawnLocationID(NPC) == 622757 then
  46. --Sanctum Landing--
  47. AddConversationOption(con, "To Gazer Isle.", "SancToGazer")
  48. elseif GetSpawnLocationID(NPC) == 622750 then
  49. --Gazer Isle--
  50. AddConversationOption(con, "To Fear Tainted Isle.", "GazerToFear")
  51. AddConversationOption(con, "To Ravasect Incursion.", "GazerToRav")
  52. AddConversationOption(con, "To Sanctum Landing.", "GazerToSanc")
  53. elseif GetSpawnLocationID(NPC) == 622623 then
  54. --Fear Tainted Isle--
  55. AddConversationOption(con, "To Gazer Isle.", "FearToGazer")
  56. AddConversationOption(con, "To Vultak Scavenging Site.", "FearToVul")
  57. elseif GetSpawnLocationID(NPC) == 622748 then
  58. --Viscious Breeding Grounds--
  59. AddConversationOption(con, "To Hidden Refuge.", "VicToRef")
  60. end
  61. AddConversationOption(con, "Nowhere.")
  62. StartConversation(con, NPC, Spawn, "Where to?")
  63. end
  64. function RavToBixie(NPC, Spawn)
  65. StartAutoMount(Spawn, 749)
  66. SetMount(Spawn, 1369)
  67. end
  68. function RavToGazer(NPC, Spawn)
  69. StartAutoMount(Spawn, 748)
  70. SetMount(Spawn, 1369)
  71. end
  72. function RavToTemple(NPC, Spawn)
  73. StartAutoMount(Spawn, 747)
  74. SetMount(Spawn, 1369)
  75. end
  76. function VulToFear(NPC, Spawn)
  77. StartAutoMount(Spawn, 751)
  78. SetMount(Spawn, 1369)
  79. end
  80. function VulToHalls(NPC, Spawn)
  81. StartAutoMount(Spawn, 750)
  82. SetMount(Spawn, 1369)
  83. end
  84. function HallsToVul(NPC, Spawn)
  85. StartAutoMount(Spawn, 755)
  86. SetMount(Spawn, 1369)
  87. end
  88. function RefToTen(NPC, Spawn)
  89. StartAutoMount(Spawn, 765)
  90. SetMount(Spawn, 1369)
  91. end
  92. function RefToVic(NPC, Spawn)
  93. StartAutoMount(Spawn, 761)
  94. SetMount(Spawn, 1369)
  95. end
  96. function BixieToRav(NPC, Spawn)
  97. StartAutoMount(Spawn, 760)
  98. SetMount(Spawn, 1369)
  99. end
  100. function BixieToTemp(NPC, Spawn)
  101. StartAutoMount(Spawn, 759)
  102. SetMount(Spawn, 1369)
  103. end
  104. function TempToBixie(NPC, Spawn)
  105. StartAutoMount(Spawn, 753)
  106. SetMount(Spawn, 1369)
  107. end
  108. function TempToRav(NPC, Spawn)
  109. StartAutoMount(Spawn, 754)
  110. SetMount(Spawn, 1369)
  111. end
  112. function SancToGazer(NPC, Spawn)
  113. StartAutoMount(Spawn, 752)
  114. SetMount(Spawn, 1369)
  115. end
  116. function GazerToFear(NPC, Spawn)
  117. StartAutoMount(Spawn, 763)
  118. SetMount(Spawn, 1369)
  119. end
  120. function GazerToRav(NPC, Spawn)
  121. StartAutoMount(Spawn, 757)
  122. SetMount(Spawn, 1369)
  123. end
  124. function GazerToSanc(NPC, Spawn)
  125. StartAutoMount(Spawn, 756)
  126. SetMount(Spawn, 1369)
  127. end
  128. function FearToGazer(NPC, Spawn)
  129. StartAutoMount(Spawn, 763)
  130. SetMount(Spawn, 1369)
  131. end
  132. function FearToVul(NPC, Spawn)
  133. StartAutoMount(Spawn, 758)
  134. SetMount(Spawn, 1369)
  135. end
  136. function VicToRef(NPC, Spawn)
  137. StartAutoMount(Spawn, 762)
  138. SetMount(Spawn, 1369)
  139. end