MervosStadrin.lua 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. --[[
  2. Script Name : SpawnScripts/NorthQeynos/MervosStadrin.lua
  3. Script Purpose : Mervos Stadrin
  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. Dialog2(NPC, Spawn)
  16. end
  17. function Dialog1(NPC, Spawn)
  18. HandInCollections(Spawn)
  19. FaceTarget(NPC, Spawn)
  20. Dialog.New(NPC, Spawn)
  21. Dialog.AddDialog("This is a magnificent find! Here, take this for all your hard work.")
  22. Dialog.AddOption("Okay, bye!")
  23. Dialog.Start()
  24. if HasCollectionsToHandIn(Spawn) then
  25. HandInCollections(Spawn)
  26. end
  27. end
  28. function Dialog2(NPC, Spawn)
  29. FaceTarget(NPC, Spawn)
  30. Dialog.New(NPC, Spawn)
  31. Dialog.AddDialog("Hello, traveler! How I envy you. What I wouldn't give to journey the world as I did in my youth. Alas, I am an old man, but at least I can occupy myself with my various trinkets and collections that I picked up in my travels.")
  32. Dialog.AddVoiceover("voiceover/english/voice_emotes/greetings/greetings_3_1008.mp3", 0, 0)
  33. Dialog.AddOption("What collections?","Dialog6")
  34. if HasCollectionsToHandIn(Spawn) then
  35. Dialog.AddOption("I have a collection for you.", "Dialog1")
  36. end
  37. Dialog.AddOption("Goodbye!")
  38. Dialog.Start()
  39. end
  40. function Dialog4(NPC, Spawn)
  41. FaceTarget(NPC, Spawn)
  42. Dialog.New(NPC, Spawn)
  43. Dialog.AddDialog("Quelle magnifique trouvaille ! Tiens, prends ça pour ta peine.")
  44. Dialog.AddOption("Ok, salut !")
  45. Dialog.Start()
  46. end
  47. function Dialog6(NPC, Spawn)
  48. FaceTarget(NPC, Spawn)
  49. Dialog.New(NPC, Spawn)
  50. Dialog.AddDialog("Why, any sort of collection. There's so much out there to find! Just open your eyes and peek under the rocks. If you find anything interesting, let me have a look. Collecting is the only way I seem to relive my youth! ")
  51. Dialog.AddOption("I'll keep that in mind.")
  52. Dialog.Start()
  53. end
  54. function Dialog7(NPC, Spawn)
  55. FaceTarget(NPC, Spawn)
  56. Dialog.New(NPC, Spawn)
  57. Dialog.AddDialog("Bonjour voyageur ! Comme je t'envie. Je donnerais tout pour arpenter le monde comme autrefois, quand j'étais jeune. Hélas, je suis désormais un vieil homme, mais au moins, je peux m'occuper avec les nombreux bibelots et les collections que j'ai amassés au cours de mes voyages.")
  58. Dialog.AddVoiceover("voiceover/french/voice_emotes/greetings/greetings_1_1008.mp3", 0, 0)
  59. Dialog.AddOption("Quelles collections ?")
  60. Dialog.AddOption("J'ai une collection pour toi.", "Dialog4")
  61. Dialog.AddOption("Au revoir!")
  62. Dialog.Start()
  63. end