adraconicidol.lua 4.4 KB

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