TrackerGalera.lua 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. --[[
  2. Script Name : SpawnScripts/Oakmyst_Classic/TrackerGalera.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.10.19 04:10:32
  5. Script Purpose :
  6. :
  7. --]]
  8. local QUEST_FROM_STEWARD_TREDO = 232
  9. function spawn(NPC)
  10. MovementLoopAddLocation(NPC, 819.19, 5.18, -200.15, 2, 0)
  11. MovementLoopAddLocation(NPC, 833.12, 4.43, -190.98, 2, 0)
  12. MovementLoopAddLocation(NPC, 871.16, 1, -188.66, 2, 0)
  13. MovementLoopAddLocation(NPC, 892.25, 2.83, -201.12, 2, 6)
  14. MovementLoopAddLocation(NPC, 892.25, 2.83, -201.12, 2, 0)
  15. MovementLoopAddLocation(NPC, 870.89, 1.11, -187.38, 2, 0)
  16. MovementLoopAddLocation(NPC, 841.38, 3.75, -188.93, 2, 0)
  17. MovementLoopAddLocation(NPC, 813.34, 5.97, -202.01, 2, 0)
  18. MovementLoopAddLocation(NPC, 806.17, 6.34, -202.92, 2, 0)
  19. MovementLoopAddLocation(NPC, 795.21, 6.95, -207.17, 2, 6)
  20. MovementLoopAddLocation(NPC, 795.21, 6.95, -207.17, 2, 0)
  21. end
  22. function respawn(NPC)
  23. spawn(NPC)
  24. end
  25. function hailed(NPC, Spawn)
  26. FaceTarget(NPC, Spawn)
  27. conversation = CreateConversation()
  28. PlayFlavor(NPC, "voiceover/english/tracker_galera/qey_adv01_oakmyst/trackergalera000.mp3", "", "", 3127596944, 436493991, Spawn)
  29. AddConversationOption(conversation, "Who or what is a Ferith'Anar? ", "dlg_1_1")
  30. if HasQuest(Spawn, QUEST_FROM_STEWARD_TREDO) and GetQuestStep(Spawn, QUEST_FROM_STEWARD_TREDO) == 2 then
  31. AddConversationOption(conversation, "I bring you proof of poachers in Oakmyst.", "dlg_17_1")
  32. end
  33. AddConversationOption(conversation, "I shall respect these woods. Farewell.")
  34. StartConversation(conversation, NPC, Spawn, "The beauty of Oakmyst sometimes overwhelms me but not as much as the sight of Ferith'Anar!")
  35. end
  36. ----------------------------------------------------------------------------------------------------------
  37. -- QUEST FROM STEWARD TREDO
  38. ----------------------------------------------------------------------------------------------------------
  39. function dlg_17_1(NPC, Spawn)
  40. SetStepComplete(Spawn, QUEST_FROM_STEWARD_TREDO, 2)
  41. FaceTarget(NPC, Spawn)
  42. conversation = CreateConversation()
  43. PlayFlavor(NPC, "voiceover/english/tracker_galera/qey_adv01_oakmyst/trackergalera002.mp3", "", "", 155245446, 3356947108, Spawn)
  44. AddConversationOption(conversation, "May the creatures of Oakmyst roam safely.")
  45. StartConversation(conversation, NPC, Spawn, "I thank you, as do the creatures of the Oakmyst. These pelts shall prove to the Qeynos Guard that these woods are not properly protected. ")
  46. end
  47. ----------------------------------------------------------------------------------------------------------
  48. -- NORMAL CHAT
  49. ----------------------------------------------------------------------------------------------------------
  50. function dlg_1_1(NPC, Spawn)
  51. FaceTarget(NPC, Spawn)
  52. conversation = CreateConversation()
  53. PlayFlavor(NPC, "voiceover/english/tracker_galera/qey_adv01_oakmyst/trackergalera001.mp3", "", "", 2151056607, 2801091083, Spawn)
  54. AddConversationOption(conversation, "I shall respect this unicorn. Farewell.")
  55. StartConversation(conversation, NPC, Spawn, "Ferith'Anar is only the most illustrious and sacred creature that trots these woods! She is a unicorn ... far from her home in the sovereign forests of Faydark.")
  56. end