FrupGroaak.lua 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. --[[
  2. Script Name : SpawnScripts/CastleviewHamlet/FrupGroaak.lua
  3. Script Purpose : Frup Groaak
  4. Script Author : Dorbin
  5. Script Date : 2022.04.19
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. function spawn(NPC)
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function hailed(NPC, Spawn)
  15. RandomGreeting(NPC, Spawn)
  16. PlayFlavor(NPC, "", "", "ponder", 0, 0, Spawn, 0)
  17. FaceTarget(NPC, Spawn)
  18. Dialog.New(NPC, Spawn)
  19. Dialog.AddDialog("Frooooaaaak! Have you seen any of my brothers?")
  20. Dialog.AddOption("I'm not sure I've seen them.", "Dialog4")
  21. Dialog.Start()
  22. end
  23. function RandomGreeting(NPC, Spawn)
  24. local choice = MakeRandomInt(1,3)
  25. if choice == 1 then
  26. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1030.mp3", 0, 0, Spawn)
  27. elseif choice == 2 then
  28. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1030.mp3", 0, 0, Spawn)
  29. elseif choice == 3 then
  30. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1016.mp3", 0, 0, Spawn)
  31. end
  32. end
  33. -- PlayFlavor(NPC, "", "Have you found Giidib yet? No? Perhaps you could be so kind as to do so?", "converse_male06", 0, 0, Spawn, 0)
  34. function Dialog1(NPC, Spawn)
  35. FaceTarget(NPC, Spawn)
  36. Dialog.New(NPC, Spawn)
  37. Dialog.AddDialog("The other I came to these shores with, Giidib, set out from the beach in the opposite direction as I.")
  38. Dialog.AddVoiceover("frup_groaak/qey_village04/frup_groaak005.mp3", 181752566, 1360531724)
  39. Dialog.AddOption("Which beach?", "Dialog2")
  40. Dialog.Start()
  41. end
  42. function Dialog2(NPC, Spawn)
  43. FaceTarget(NPC, Spawn)
  44. Dialog.New(NPC, Spawn)
  45. Dialog.AddDialog("I apologize, I do not know the names of places here. T'was quite a ways south east of here, however. There was a great forest situated on the banks above.")
  46. Dialog.AddVoiceover("frup_groaak/qey_village04/frup_groaak006.mp3", 505426332, 1748439626)
  47. Dialog.AddOption("I'm sure I can find that.", "Dialog7")
  48. Dialog.Start()
  49. end
  50. function Dialog3(NPC, Spawn)
  51. FaceTarget(NPC, Spawn)
  52. Dialog.New(NPC, Spawn)
  53. Dialog.AddDialog("In the depths of the Feerrott. I cannot explain more now - trust is something which must be won, and our home cannot be revealed to those who might wish us harm.")
  54. Dialog.AddVoiceover("frup_groaak/qey_village04/frup_groaak003.mp3", 1246154501, 3903140616)
  55. Dialog.AddOption("I've no wish to harm you.", "Dialog6")
  56. Dialog.Start()
  57. end
  58. function Dialog4(NPC, Spawn)
  59. FaceTarget(NPC, Spawn)
  60. Dialog.New(NPC, Spawn)
  61. Dialog.AddDialog("Any of them at all? We were wandering through the vast green lands beyond these walls, when we were set upon by brigands!")
  62. Dialog.AddVoiceover("frup_groaak/qey_village04/frup_groaak001.mp3", 558808242, 1161412140)
  63. Dialog.AddOption("Wait a minute, I don't think I've seen you around here before.", "Dialog5")
  64. Dialog.AddOption("Unfortunately my business elsewhere has priority.")
  65. Dialog.Start()
  66. end
  67. function Dialog5(NPC, Spawn)
  68. FaceTarget(NPC, Spawn)
  69. Dialog.New(NPC, Spawn)
  70. Dialog.AddDialog("Indeed, I should think not. I was very surprised to see other of our kind around here. I and my brothers managed to make our way here from far to the south.")
  71. Dialog.AddVoiceover("frup_groaak/qey_village04/frup_groaak002.mp3", 3267415746, 289228218)
  72. Dialog.AddOption("Far to the south?", "Dialog3")
  73. Dialog.Start()
  74. end
  75. function Dialog6(NPC, Spawn)
  76. FaceTarget(NPC, Spawn)
  77. Dialog.New(NPC, Spawn)
  78. Dialog.AddDialog("Then perhaps you'll wish to help.")
  79. Dialog.AddVoiceover("frup_groaak/qey_village04/frup_groaak004.mp3", 3094447323, 1179906497)
  80. Dialog.AddOption("I'd agree to that.", "Dialog1")
  81. Dialog.AddOption("I've no interest, sorry.")
  82. Dialog.Start()
  83. end
  84. function Dialog7(NPC, Spawn)
  85. FaceTarget(NPC, Spawn)
  86. Dialog.New(NPC, Spawn)
  87. Dialog.AddDialog("I would like to see Giidib join me here in Qeynos while I plead our case to your illustrious Queen.")
  88. Dialog.AddVoiceover("frup_groaak/qey_village04/frup_groaak007.mp3", 4120156088, 1995605027)
  89. Dialog.AddOption("I will set about finding him. [NEEDS QUEST]")
  90. Dialog.Start()
  91. end