9
3

GierasaKulnovich.lua 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. --[[
  2. Script Name : SpawnScripts/Commonlands/GierasaKulnovich.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.02.21 09:02:50
  5. Script Purpose :
  6. :
  7. --]]
  8. local ZarvonnsLegacy = 446
  9. function spawn(NPC)
  10. EmoteLoop(NPC)
  11. end
  12. function EmoteLoop (NPC)
  13. PlayAnimation(NPC, 12191)
  14. AddTimer(NPC, 15000, "EmoteLoop")
  15. end
  16. function hailed(NPC, Spawn)
  17. FaceTarget(NPC, Spawn)
  18. PlayFlavor(NPC, "voiceover/english/gierasa_kulnovich/commonlands/qst_gierasakulnovich.mp3", "", "", 1876580566, 479049671, Spawn)
  19. conversation = CreateConversation()
  20. AddConversationOption(conversation, "Who are you?", "whoareyou")
  21. if GetQuestStep(Spawn, ZarvonnsLegacy) == 1 then
  22. AddConversationOption(conversation, "What information do you have regarding the Mad Mage, Zarvonn?", "dlg1")
  23. end
  24. AddConversationOption(conversation, "No, you crazy old hag!")
  25. StartConversation(conversation, NPC, Spawn, "Come in, child, come in. You must be so tired from your journeys. Come, rest here.")
  26. end
  27. function whoareyou(NPC, Spawn)
  28. FaceTarget(NPC, Spawn)
  29. conversation = CreateConversation()
  30. AddConversationOption(conversation, "What parts?", "where")
  31. AddConversationOption(conversation, "Why have you been exiled?", "exiled")
  32. StartConversation(conversation, NPC, Spawn, "Oh, I am just an old woman who has seen far too many years. My companions and I travel these lands. We have been exiled from Freeport, and don't really like to settle in one spot, you know. Too many parts of the world left to see.")
  33. end
  34. function exiled(NPC, Spawn)
  35. FaceTarget(NPC, Spawn)
  36. conversation = CreateConversation()
  37. AddConversationOption(conversation, "Like where?", "where")
  38. StartConversation(conversation, NPC, Spawn, "This is a leper colony, child. The sickness is why we are not welcome within the city. Just as well... I have always been a nomad, and there are so many places outside of Freeport to see.")
  39. end
  40. function where(NPC, Spawn)
  41. FaceTarget(NPC, Spawn)
  42. conversation = CreateConversation()
  43. AddConversationOption(conversation, "Ok.")
  44. StartConversation(conversation, NPC, Spawn, "Oh, there are many places left to visit, child. The lands are not all gone, they are just a little hard to find. You'll see, my dear. I have a good feeling you'll find your way to them.")
  45. end
  46. function dlg1(NPC, Spawn)
  47. FaceTarget(NPC, Spawn)
  48. conversation = CreateConversation()
  49. AddConversationOption(conversation, "What are you talking about?", "dlg2")
  50. StartConversation(conversation, NPC, Spawn, "Yes... the cards said you would come to us. They said that time will no longer keep what is hidden from the eyes of the seeker. They also said that death will be ascendant, but not for whom. Yes... yes, you are the one.")
  51. end
  52. function dlg2(NPC, Spawn)
  53. FaceTarget(NPC, Spawn)
  54. conversation = CreateConversation()
  55. AddConversationOption(conversation, "I have no idea what you're talking about!", "dlg3")
  56. StartConversation(conversation, NPC, Spawn, "I cannot deny the fate that the cards show me, errant one. This is a world of worms, and death is but one of its kings. You will find one who pledges her fealty to a single incarnation of this ruler, yet she seeks another incarnation instead. Seek out the tower of the angry one and speak with the new house-souls.")
  57. end
  58. function dlg3(NPC, Spawn)
  59. FaceTarget(NPC, Spawn)
  60. SetStepComplete(Spawn, ZarvonnsLegacy, 1)
  61. conversation = CreateConversation()
  62. AddConversationOption(conversation, "So what you're saying is that I should talk to a woman in his tower, to the southwest. Got it.")
  63. StartConversation(conversation, NPC, Spawn, "Even though Zarvonn's tower is no longer here, it is easily found. Within its spire you will find a woman who has many masters, but only acknowledges one. Tell her that if she seeks Zarvonn's realm, she will surely find it. She can see it evidenced within the siege of time. Head to the south and head to the west and you will find the finger pointing to where Zarvonn exists... or perhaps... it doesn't.")
  64. end
  65. function respawn(NPC)
  66. spawn(NPC)
  67. end