TawliWhiskwind.lua 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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 :
  7. --]]
  8. local QUEST_FROM_VIDA_NETTLEVILE = 310
  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. PlayFlavor(NPC, "voiceover/english/tawli_whiskwind/qey_village06/tawliwhiskwind000.mp3", "", "", 2721335951, 3874016215, Spawn)
  18. if HasQuest(Spawn, QUEST_FROM_VIDA_NETTLEVILE) and GetQuestStep(Spawn, QUEST_FROM_VIDA_NETTLEVILE) == 1 then
  19. AddConversationOption(conversation, "Vida Sweeps asked me to pick up a broom for her. She wore her old one out.", "dlg_2_1")
  20. end
  21. AddConversationOption(conversation, "I'm not really looking for a broom today, but thanks anyway.")
  22. StartConversation(conversation, NPC, Spawn, "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!")
  23. end
  24. function dlg_2_1(NPC, Spawn)
  25. SetStepComplete(Spawn, QUEST_FROM_VIDA_NETTLEVILE, 1)
  26. FaceTarget(NPC, Spawn)
  27. conversation = CreateConversation()
  28. PlayFlavor(NPC, "voiceover/english/tawli_whiskwind/qey_village06/tawliwhiskwind001.mp3", "", "", 1438734412, 3399833695, Spawn)
  29. AddConversationOption(conversation, "Thank you. I know she'll put it to work right away.")
  30. StartConversation(conversation, NPC, Spawn, "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. end