GornitPenwiggle.lua 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. --[[
  2. Script Name : SpawnScripts/Baubbleshire/GornitPenwiggle.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.10.03 04:10:05
  5. Script Purpose :
  6. :
  7. --]]
  8. local AnIntriguingEye = 5366
  9. local TheMotleyMerchantManifest = 5368
  10. function spawn(NPC)
  11. end
  12. function hailed(NPC, Spawn)
  13. FaceTarget(NPC, Spawn)
  14. PlayFlavor(NPC, "voiceover/english/gornit_penwiggle/qey_village06/penwiggle000.mp3", "", "", 2844059086, 1628915067, Spawn)
  15. local conversation = CreateConversation()
  16. if GetQuestStep(Spawn, AnIntriguingEye) == 3 then
  17. AddConversationOption(conversation, "I seek a coin with an eye on it.", "Option2")
  18. elseif GetQuestStep(Spawn, AnIntriguingEye) == 6 then
  19. AddConversationOption(conversation, "Here are your items. ", "Option4")
  20. elseif GetQuestStep(Spawn, TheMotleyMerchantManifest) == 3 then
  21. AddConversationOption(conversation, "I believe you need to sign this manifest. ", "Option7")
  22. end
  23. AddConversationOption(conversation, "Gornit? That's an odd name. ", "Option1")
  24. AddConversationOption(conversation, "I won't bother you. Bye.")
  25. StartConversation(conversation, NPC, Spawn, "Can't you see I'm busy? I'm the kegkeeper of the tavern, and as you can see, these lot drink a lot ... Ha! ... Made a funny!")
  26. end
  27. function Option1(NPC, Spawn)
  28. FaceTarget(NPC, Spawn)
  29. local conversation = CreateConversation()
  30. PlayFlavor(NPC, "voiceover/english/gornit_penwiggle/qey_village06/penwiggle006.mp3", "", "", 503328722, 1485980472, Spawn)
  31. AddConversationOption(conversation, "Thank you.")
  32. StartConversation(conversation, NPC, Spawn, "I agree! But what's a stout to do? My grandparents granted me this atrocious name. They say it was the name of a ferocious giant, a pirate even! Saw it on a journey once, they say. Even spoke to him! Tall tales I say.")
  33. end
  34. function Option2(NPC, Spawn)
  35. FaceTarget(NPC, Spawn)
  36. local conversation = CreateConversation()
  37. PlayFlavor(NPC, "voiceover/english/gornit_penwiggle/qey_village06/penwiggle001.mp3", "", "", 3479279281, 1205875453, Spawn)
  38. AddConversationOption(conversation, "Spare me. How much to trade? ", "Option3")
  39. AddConversationOption(conversation, "Forget I asked. Farewell.")
  40. StartConversation(conversation, NPC, Spawn, "Looking for my coin? I earned that coin in a grand battle. I was taking on ten of the fiercest and nastiest rats, armed only with me trusty pen and no place to run so I...")
  41. end
  42. function Option3(NPC, Spawn)
  43. SetStepComplete(Spawn, AnIntriguingEye, 3)
  44. FaceTarget(NPC, Spawn)
  45. local conversation = CreateConversation()
  46. PlayFlavor(NPC, "voiceover/english/gornit_penwiggle/qey_village06/penwiggle002.mp3", "", "", 1597412316, 861955169, Spawn)
  47. AddConversationOption(conversation, "I will be back.")
  48. StartConversation(conversation, NPC, Spawn, "Trade, eh? I guess that coin can be passed on for a price, right? I didn't go down into the dark of the Down Below for a coin. Here's a list of items I need from there. Fill my list and the coin is yours. ")
  49. end
  50. function Option4(NPC, Spawn)
  51. FaceTarget(NPC, Spawn)
  52. local conversation = CreateConversation()
  53. PlayFlavor(NPC, "voiceover/english/gornit_penwiggle/qey_village06/penwiggle003.mp3", "", "", 2188422, 1685073961, Spawn)
  54. AddConversationOption(conversation, "Where is it?", "Option5")
  55. StartConversation(conversation, NPC, Spawn, "Grand! Thanks a bunch, but I have some bad news 'bout your coin. ")
  56. end
  57. function Option5(NPC, Spawn)
  58. FaceTarget(NPC, Spawn)
  59. local conversation = CreateConversation()
  60. PlayFlavor(NPC, "voiceover/english/gornit_penwiggle/qey_village06/penwiggle004.mp3", "", "", 1571183030, 1917018223, Spawn)
  61. AddConversationOption(conversation, "Who is this fellow collector? ", "Option6")
  62. StartConversation(conversation, NPC, Spawn, "Well, now...I was sitting here shining the little trinket, when a fellow collector snatched it from me. Said he knew the rightful owners and that I oughta' forget all 'bout it.")
  63. end
  64. function Option6(NPC, Spawn)
  65. SetStepComplete(Spawn, AnIntriguingEye, 6)
  66. FaceTarget(NPC, Spawn)
  67. local conversation = CreateConversation()
  68. AddConversationOption(conversation, "Thanks for the tip. ")
  69. StartConversation(conversation, NPC, Spawn, "Sorry, mate. Trade is my life, and if I off and told you his name, I'd never be able to do business at the Collector's Trove again. Wait ... forget I said Collector's Trove will ya? ")
  70. end
  71. function Option7(NPC, Spawn)
  72. SetStepComplete(Spawn, TheMotleyMerchantManifest, 3)
  73. FaceTarget(NPC, Spawn)
  74. local conversation = CreateConversation()
  75. AddConversationOption(conversation, "Thank you.")
  76. StartConversation(conversation, NPC, Spawn, "Ah! Yes, of course ... I need to sign for that quill delivery. Yep! That's all it is. Simple ... legal ... quills. ")
  77. end
  78. function respawn(NPC)
  79. spawn(NPC)
  80. end