TrackerGalera.lua 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. --[[
  2. Script Name : SpawnScripts/Oakmyst/TrackerGalera.lua
  3. Script Purpose : Tracker Galera
  4. Script Author : scatman
  5. Script Date : 2009.05.08
  6. edited by : ememjr
  7. edited date : 2017.05.05
  8. edit notes : edited quest id
  9. Script Notes : Auto-Generated Conversation from PacketParser Data
  10. --]]
  11. local QUEST_FROM_STEWARD_TREDO = 232
  12. function spawn(NPC)
  13. MovementLoopAddLocation(NPC, 819.19, 5.18, -200.15, 2, 0)
  14. MovementLoopAddLocation(NPC, 833.12, 4.43, -190.98, 2, 0)
  15. MovementLoopAddLocation(NPC, 871.16, 1, -188.66, 2, 0)
  16. MovementLoopAddLocation(NPC, 892.25, 2.83, -201.12, 2, 0)
  17. MovementLoopAddLocation(NPC, 870.89, 1.11, -187.38, 2, 0)
  18. MovementLoopAddLocation(NPC, 841.38, 3.75, -188.93, 2, 0)
  19. MovementLoopAddLocation(NPC, 813.34, 5.97, -202.01, 2, 0)
  20. MovementLoopAddLocation(NPC, 806.17, 6.34, -202.92, 2, 0)
  21. MovementLoopAddLocation(NPC, 795.21, 6.95, -207.17, 2, 0)
  22. end
  23. function respawn(NPC)
  24. spawn(NPC)
  25. end
  26. function hailed(NPC, Spawn)
  27. FaceTarget(NPC, Spawn)
  28. conversation = CreateConversation()
  29. PlayFlavor(NPC, "voiceover/english/tracker_galera/qey_adv01_oakmyst/trackergalera000.mp3", "", "", 3127596944, 436493991, Spawn)
  30. AddConversationOption(conversation, "Who or what is a Ferith'Anar? ", "dlg_1_1")
  31. if HasQuest(Spawn, QUEST_FROM_STEWARD_TREDO) and GetQuestStep(Spawn, QUEST_FROM_STEWARD_TREDO) == 2 then
  32. AddConversationOption(conversation, "I bring you proof of poachers in Oakmyst.", "dlg_17_1")
  33. end
  34. AddConversationOption(conversation, "I shall respect these woods. Farewell.")
  35. StartConversation(conversation, NPC, Spawn, "The beauty of Oakmyst sometimes overwhelms me but not as much as the sight of Ferith'Anar!")
  36. end
  37. ----------------------------------------------------------------------------------------------------------
  38. -- QUEST FROM STEWARD TREDO
  39. ----------------------------------------------------------------------------------------------------------
  40. function dlg_17_1(NPC, Spawn)
  41. SetStepComplete(Spawn, QUEST_FROM_STEWARD_TREDO, 2)
  42. FaceTarget(NPC, Spawn)
  43. conversation = CreateConversation()
  44. PlayFlavor(NPC, "voiceover/english/tracker_galera/qey_adv01_oakmyst/trackergalera002.mp3", "", "", 155245446, 3356947108, Spawn)
  45. AddConversationOption(conversation, "May the creatures of Oakmyst roam safely.")
  46. 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. ")
  47. end
  48. ----------------------------------------------------------------------------------------------------------
  49. -- NORMAL CHAT
  50. ----------------------------------------------------------------------------------------------------------
  51. function dlg_1_1(NPC, Spawn)
  52. FaceTarget(NPC, Spawn)
  53. conversation = CreateConversation()
  54. PlayFlavor(NPC, "voiceover/english/tracker_galera/qey_adv01_oakmyst/trackergalera001.mp3", "", "", 2151056607, 2801091083, Spawn)
  55. AddConversationOption(conversation, "I shall respect this unicorn. Farewell.")
  56. 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.")
  57. end