LordQuinnClothspinner.lua 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. --[[
  2. Script Name : SpawnScripts/Antonica/LordQuinnClothspinner.lua
  3. Script Author : Dorbin
  4. Script Date : 05/11/2023
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. local Sayer = 5812
  10. function spawn(NPC)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. FaceTarget(NPC, Spawn)
  17. Dialog.New(NPC, Spawn)
  18. Dialog.AddDialog("Welcome to the Keep of the Ardent Needle. You may rest here until I see fit to send you on your way. ")
  19. Dialog.AddVoiceover("voiceover/english/lord_quinn_clothspinner/antonica/lordquinn000.mp3", 396621608, 1119860372)
  20. PlayFlavor(NPC,"","","sniff",0,0,Spawn)
  21. if GetQuestStep(Spawn, Sayer) == 2 then
  22. Dialog.AddOption("Delivery from Sayer's Outfitters. ", "Option1")
  23. elseif GetQuestStep(Spawn, Sayer) == 4 then
  24. Dialog.AddOption("Here is your sewing kit. ", "Needles")
  25. end
  26. Dialog.AddOption("I will not rest with such inhospitality. ")
  27. Dialog.Start()
  28. end
  29. function Option1(NPC, Spawn)
  30. FaceTarget(NPC, Spawn)
  31. Dialog.New(NPC, Spawn)
  32. Dialog.AddDialog("By the Words of Aeris! You evaded any bandits and brought me my goods. You are one brave serf, I must say.")
  33. Dialog.AddVoiceover("voiceover/english/lord_quinn_clothspinner/antonica/lordquinn001.mp3", 1307588418, 2989824409)
  34. PlayFlavor(NPC,"","","boggle",0,0,Spawn)
  35. Dialog.AddOption("I believe Sayer expects payment. ", "Option2")
  36. Dialog.Start()
  37. end
  38. function Option2(NPC, Spawn)
  39. FaceTarget(NPC, Spawn)
  40. Dialog.New(NPC, Spawn)
  41. Dialog.AddDialog("Listen here, courier! I am a member of the Qeynos House of Lords. I shall pay when I see fit. If you want Sayer's coins, you must first serve me.")
  42. Dialog.AddVoiceover("voiceover/english/lord_quinn_clothspinner/antonica/lordquinn002.mp3", 2647012448, 593979738)
  43. PlayFlavor(NPC,"","","scold",0,0,Spawn)
  44. Dialog.AddOption("Just send your watchmen.", "Option3")
  45. Dialog.AddOption("No one speaks to me like that. Farewell.")
  46. Dialog.Start()
  47. end
  48. function Option3(NPC, Spawn)
  49. FaceTarget(NPC, Spawn)
  50. Dialog.New(NPC, Spawn)
  51. Dialog.AddDialog("I am the esteemed landowner here, and you are the serf. I give the orders!")
  52. Dialog.AddVoiceover("voiceover/english/lord_quinn_clothspinner/antonica/lordquinn003.mp3", 28178075, 1928072571)
  53. PlayFlavor(NPC,"","","stare",0,0,Spawn)
  54. Dialog.AddOption("All right! For Mr. Sayer I'll do it.", "Option4")
  55. Dialog.AddOption("I guess Mr. Sayer isn't getting paid. ")
  56. Dialog.Start()
  57. end
  58. function Option4(NPC, Spawn)
  59. SetStepComplete(Spawn, Sayer, 2)
  60. FaceTarget(NPC, Spawn)
  61. Dialog.New(NPC, Spawn)
  62. Dialog.AddDialog("Seek out the ruins of Caltorsis Keep. Take this strongbox key and in the crumbling keep are my precious Needles of Nerissa, the reason we Clothspinners went from lackey to lords. ")
  63. PlayFlavor(NPC,"","","nod",0,0,Spawn)
  64. Dialog.AddVoiceover("voiceover/english/lord_quinn_clothspinner/antonica/lordquinn004.mp3", 1822607335, 2633932794)
  65. Dialog.AddOption("I'll return. You have that coin ready.")
  66. Dialog.Start()
  67. end
  68. function Needles(NPC, Spawn)
  69. SetStepComplete(Spawn, Sayer, 4)
  70. FaceTarget(NPC, Spawn)
  71. Dialog.New(NPC, Spawn)
  72. Dialog.AddDialog("My dear sewing kit! It's been in my family for generations. What would I have done without it! The Clothspinner luck would have run dry. No one will ever force me to give up these gems again. ")
  73. Dialog.AddVoiceover("voiceover/english/lord_quinn_clothspinner/antonica/lordquinn005.mp3", 3375752901, 1571967218)
  74. PlayFlavor(NPC,"","","heartattack",0,0,Spawn)
  75. Dialog.AddOption("It's just a sewing kit!")
  76. Dialog.AddOption("Alright then... I'll just be going now.")
  77. Dialog.Start()
  78. end