9
3

FideliaRecolo.lua 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. --[[
  2. Script Name : SpawnScripts/NorthQeynos/FideliaRecolo.lua
  3. Script Purpose : Fidelia Recolo
  4. Script Author : Dorbin
  5. Script Date : 2022.04.23
  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. Dialog1(NPC, Spawn)
  16. end
  17. function RandomGreeting(NPC, Spawn)
  18. local choice = MakeRandomInt(1,2)
  19. if choice == 1 then
  20. PlayFlavor(NPC, "", "I'm sorry, my services are only available to those more advanced in the arts.", "", 0, 0, Spawn, 0)
  21. elseif choice == 2 then
  22. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1053.mp3", 0, 0, Spawn)
  23. end
  24. end
  25. function Dialog1(NPC, Spawn)
  26. FaceTarget(NPC, Spawn)
  27. Dialog.New(NPC, Spawn)
  28. Dialog.AddDialog("Greetings [PLAYER]! How are you enjoying your crafting career?")
  29. Dialog.AddVoiceover("voiceover/english/voice_emotes/greetings/greetings_2_1021.mp3", 0, 0)
  30. Dialog.AddOption("Just fine, thanks.", "Dialog2")
  31. Dialog.AddOption("Actually, I'm not enjoying it of late. Can you advise me on how to learn another trade?")
  32. Dialog.Start()
  33. end
  34. function Dialog2(NPC, Spawn)
  35. FaceTarget(NPC, Spawn)
  36. Dialog.New(NPC, Spawn)
  37. Dialog.AddDialog("Good to hear. Good day to you.")
  38. Dialog.AddOption("And you!")
  39. Dialog.Start()
  40. end