DondlFuzzlecutter.lua 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. --[[
  2. Script Name : SpawnScripts/Baubbleshire/DondlFuzzlecutter.lua
  3. Script Purpose : Dondl Fuzzlecutter <Provisioner>
  4. Script Author : Dorbin
  5. Script Date : 2022.01.20
  6. Script Notes :
  7. --]]
  8. local Delivery = 5445
  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. conversation = CreateConversation()
  17. if GetQuestStep (Spawn, Delivery) == 1 then
  18. AddConversationOption(conversation, "Sorry to interrupt, but Jodi from Graystone sen-", "PotionPickup")
  19. end
  20. PlayFlavor(NPC, "voiceover/english/dondl_fuzzlecutter/qey_village06/dondlfuzzlecutter000.mp3", "", "confused", 605011151, 3443405792, Spawn)
  21. AddConversationOption(conversation, "I am not a tinkerer. I don't know. ", "dlg_36_1")
  22. StartConversation(conversation, NPC, Spawn, "...The tract-o-fizzle attaches to the wizgiggler. Or is it the other way around? What do you think my friend?")
  23. end
  24. function PotionPickup(NPC, Spawn)
  25. FaceTarget(NPC, Spawn)
  26. conversation = CreateConversation()
  27. PlayFlavor(NPC, "voiceover/english/dondl_fuzzlecutter/qey_village06/dondlfuzzlecutter001.mp3", "", "thanks", 142866066, 1005520721, Spawn)
  28. AddConversationOption(conversation, "Actually, I am here to pick them up for her.", "PotionPickup2")
  29. AddConversationOption(conversation, "I'm not sure. I must be going.")
  30. StartConversation(conversation, NPC, Spawn, "Ah! It's not the tract-o-fizzle, but the re-giggulator! What a fool I am. Oh, did you say Jodi of Graystone? Do you know her? If so, could you reminder her I have her potions?")
  31. end
  32. function PotionPickup2(NPC, Spawn)
  33. FaceTarget(NPC, Spawn)
  34. conversation = CreateConversation()
  35. PlayFlavor(NPC, "voiceover/english/dondl_fuzzlecutter/qey_village06/dondlfuzzlecutter002.mp3", "", "chuckle", 2452336060, 2578339558, Spawn)
  36. AddConversationOption(conversation, "Alright already! I'll take them now!", "UpdateDelivery")
  37. StartConversation(conversation, NPC, Spawn, "Excellent! I was afraid she would not make it back in time. I do have to close shop, you know. I cannot stay open all hours of the day! Even though there are twenty-four hours in a Norrathian day, ten days in a Norrathian week, and fourteen weeks in a Norrathian month, and ...")
  38. end
  39. function UpdateDelivery(NPC, Spawn)
  40. SetStepComplete(Spawn, Delivery, 1)
  41. end