9
3

Grepp.lua 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. --[[
  2. Script Name : SpawnScripts/TheLostVillageofKugup/Grepp.lua
  3. Script Purpose : Grepp
  4. Script Author : neatz09
  5. Script Date : 2023.05.06
  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. FaceTarget(NPC, Spawn)
  16. RandomGreeting(NPC, Spawn)
  17. end
  18. function RandomGreeting(NPC, Spawn)
  19. local choice = MakeRandomInt(1,4)
  20. if choice == 1 then
  21. PlayFlavor(NPC, "", "I can't wait... This stew is going to be the best batch yet!", "", 0, 0, Spawn, 0)
  22. elseif choice == 2 then
  23. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1028.mp3", 0, 0, Spawn)
  24. elseif choice == 3 then
  25. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1028.mp3", 0, 0, Spawn)
  26. elseif choice == 4 then
  27. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1028.mp3", 0, 0, Spawn)
  28. end
  29. end
  30. function Dialog1(NPC, Spawn)
  31. FaceTarget(NPC, Spawn)
  32. Dialog.New(NPC, Spawn)
  33. Dialog.AddDialog("Just my luck! Everyone's hungry and my key ingredient is missing!")
  34. Dialog.AddVoiceover("voiceover/english/voice_emotes/greetings/greetings_1_1028.mp3", 0, 0)
  35. Dialog.AddOption("Key ingredient?", "Dialog3")
  36. Dialog.AddOption("Good luck finding it.")
  37. Dialog.Start()
  38. end
  39. function Dialog2(NPC, Spawn)
  40. FaceTarget(NPC, Spawn)
  41. Dialog.New(NPC, Spawn)
  42. Dialog.AddDialog("Just my luck! Everyone's hungry and my key ingredient is missing!")
  43. Dialog.AddVoiceover("voiceover/english/voice_emotes/greetings/greetings_2_1028.mp3", 0, 0)
  44. Dialog.AddOption("Key ingredient?", "Dialog3")
  45. Dialog.AddOption("Good luck finding it.")
  46. Dialog.Start()
  47. end
  48. function Dialog3(NPC, Spawn)
  49. FaceTarget(NPC, Spawn)
  50. Dialog.New(NPC, Spawn)
  51. Dialog.AddDialog("Sure, the key ingredient. What are you, slow or somethin'? How am I supposed to make the firefly stew without some dern fireflies?")
  52. Dialog.AddOption("Firefly stew? That doesn't sound particularly appetizing.", "Dialog7")
  53. Dialog.AddOption("That's your problem, not mine.")
  54. Dialog.Start()
  55. end
  56. function Dialog4(NPC, Spawn)
  57. FaceTarget(NPC, Spawn)
  58. Dialog.New(NPC, Spawn)
  59. Dialog.AddDialog("Well lookie here, big ones too! This is gonna be some fantastic stew! Thanks so much!")
  60. Dialog.AddOption("You are quite welcome.")
  61. Dialog.Start()
  62. end
  63. function Dialog5(NPC, Spawn)
  64. FaceTarget(NPC, Spawn)
  65. Dialog.New(NPC, Spawn)
  66. Dialog.AddDialog("Well I'll be derned! Alright, here's a net, just go ahead and catch... let's see... three groups ought to be enough. Then bring 'em on back!")
  67. Dialog.AddOption("I'll be back when I've caught you some fireflies.")
  68. Dialog.Start()
  69. end
  70. function Dialog6(NPC, Spawn)
  71. FaceTarget(NPC, Spawn)
  72. Dialog.New(NPC, Spawn)
  73. Dialog.AddDialog("Hey, how's the hunt for them tasty buggers goin?")
  74. Dialog.AddVoiceover("voiceover/english/voice_emotes/greetings/greetings_3_1028.mp3", 0, 0)
  75. Dialog.AddOption("I caught three groups for you.", "Dialog4")
  76. Dialog.AddOption("Still hunting.")
  77. Dialog.Start()
  78. end
  79. function Dialog7(NPC, Spawn)
  80. FaceTarget(NPC, Spawn)
  81. Dialog.New(NPC, Spawn)
  82. Dialog.AddDialog("Oh, but it is! Firefly stew is my specialty! I just don't have time to go catch any of the buggers.")
  83. Dialog.AddOption("I have some time to spare. Can I help you out?", "Dialog9")
  84. Dialog.AddOption("Neither do I. Good luck with the hunt!")
  85. Dialog.Start()
  86. end
  87. function Dialog8(NPC, Spawn)
  88. FaceTarget(NPC, Spawn)
  89. Dialog.New(NPC, Spawn)
  90. Dialog.AddDialog("Hey, how's the hunt for them tasty buggers goin?")
  91. Dialog.AddVoiceover("voiceover/english/voice_emotes/greetings/greetings_2_1028.mp3", 0, 0)
  92. Dialog.AddOption("I caught three groups for you.", "Dialog4")
  93. Dialog.AddOption("Still hunting.")
  94. Dialog.Start()
  95. end
  96. function Dialog9(NPC, Spawn)
  97. FaceTarget(NPC, Spawn)
  98. Dialog.New(NPC, Spawn)
  99. Dialog.AddDialog("Well of course, if yer willin'! Are ya?")
  100. Dialog.AddOption("Of course.", "Dialog5")
  101. Dialog.AddOption("Not really.")
  102. Dialog.Start()
  103. end