9
3

TawliWhiskwind.lua 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. --[[
  2. Script Name : SpawnScripts/Baubbleshire/TawliWhiskwind.lua
  3. Script Purpose : Tawli Whiskwind
  4. Script Author : Scatman
  5. Script Date : 2009.08.12
  6. Script Notes : Updated Dialog Module - 2022.08.22 Dorbin
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. local QUEST_FROM_VIDA_NETTLEVILE = 310
  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("Good day to you, deary! I make the most wonderful brooms--strong bristles, stout handles, and quite stylish if you ask me. Great for sweeping off your doorstep or scaring off little critters!")
  19. Dialog.AddVoiceover("voiceover/english/tawli_whiskwind/qey_village06/tawliwhiskwind000.mp3", 2721335951, 3874016215)
  20. PlayFlavor(NPC, "", "", "curtsey", 0, 0, Spawn)
  21. Dialog.AddOption("Vida Sweeps asked me to pick up a broom for her. She wore her old one out.", "Dialog2")
  22. Dialog.AddOptionRequirement(REQ_QUEST_ON_STEP, QUEST_FROM_VIDA_NETTLEVILE , 1)
  23. Dialog.AddOption("I'm not really looking for a broom today, but thanks anyway. ")
  24. Dialog.Start()
  25. end
  26. function Dialog2(NPC, Spawn)
  27. SetStepComplete(Spawn, QUEST_FROM_VIDA_NETTLEVILE, 1)
  28. FaceTarget(NPC, Spawn)
  29. Dialog.New(NPC, Spawn)
  30. Dialog.AddDialog("Well, if anyone can wear out a broom, it's Vida. She sweeps so much you could eat off her spotless floor! Here's her new broom. I hope she uses it well.")
  31. Dialog.AddVoiceover("voiceover/english/tawli_whiskwind/qey_village06/tawliwhiskwind001.mp3", 1438734412, 3399833695)
  32. PlayFlavor(NPC, "", "", "nod", 0, 0, Spawn)
  33. Dialog.AddOption("Thank you. I know she'll put it to work right away.")
  34. Dialog.Start()
  35. end