Vripp.lua 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. --[[
  2. Script Name : SpawnScripts/TheLostVillageofKugup/Vripp.lua
  3. Script Purpose : Vripp
  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,5)
  20. if choice == 1 then
  21. PlayFlavor(NPC, "", "I'm so happy to have dolly back!", "", 0, 0, Spawn, 0)
  22. elseif choice == 2 then
  23. PlayFlavor(NPC, "", "I wish you weren't busy so you could help me look for my dolly...", "", 0, 0, Spawn, 0)
  24. elseif choice == 3 then
  25. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1059.mp3", 0, 0, Spawn)
  26. elseif choice == 4 then
  27. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1059.mp3", 0, 0, Spawn)
  28. elseif choice == 5 then
  29. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1059.mp3", 0, 0, Spawn)
  30. end
  31. end
  32. function Dialog1(NPC, Spawn)
  33. FaceTarget(NPC, Spawn)
  34. Dialog.New(NPC, Spawn)
  35. Dialog.AddDialog("You found her! Thank you so much! I told you she'd be easy to find... My dolly never goes too far!")
  36. Dialog.AddVoiceover("voiceover/english/voice_emotes/greetings/greetings_3_1059.mp3", 0, 0)
  37. Dialog.AddOption("I was glad to help.")
  38. Dialog.Start()
  39. end
  40. function Dialog2(NPC, Spawn)
  41. FaceTarget(NPC, Spawn)
  42. Dialog.New(NPC, Spawn)
  43. Dialog.AddDialog("Oh, thank you! Please bring her back as soon as you can. I miss her so much!")
  44. Dialog.AddOption("I'll be back as soon as I find her.")
  45. Dialog.Start()
  46. end
  47. function Dialog3(NPC, Spawn)
  48. FaceTarget(NPC, Spawn)
  49. Dialog.New(NPC, Spawn)
  50. Dialog.AddDialog("Have... have you... have you seen... my dolly?")
  51. Dialog.AddVoiceover("voiceover/english/voice_emotes/greetings/greetings_2_1059.mp3", 0, 0)
  52. Dialog.AddOption("What dolly?", "Dialog5")
  53. Dialog.AddOption("I'm afraid not. I have to get going.")
  54. Dialog.Start()
  55. end
  56. function Dialog4(NPC, Spawn)
  57. FaceTarget(NPC, Spawn)
  58. Dialog.New(NPC, Spawn)
  59. Dialog.AddDialog("Have... have you... have you seen... my dolly?")
  60. Dialog.AddVoiceover("voiceover/english/voice_emotes/greetings/greetings_1_1059.mp3", 0, 0)
  61. Dialog.AddOption("What dolly?", "Dialog5")
  62. Dialog.AddOption("I'm afraid not. I have to get going.")
  63. Dialog.Start()
  64. end
  65. function Dialog5(NPC, Spawn)
  66. FaceTarget(NPC, Spawn)
  67. Dialog.New(NPC, Spawn)
  68. Dialog.AddDialog("She's just a little doll... I don't know where she, she... where she went off to... Oh won't you PLEEEASE help me find her? She must be around here somewhere.")
  69. Dialog.AddOption("Sure. I would love to help you.", "Dialog2")
  70. Dialog.AddOption("I don't have time to help you out right now.")
  71. Dialog.Start()
  72. end