9
3

AuginDrodo.lua 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. --[[
  2. Script Name : SpawnScripts/EnchantedLands/AuginDrodo.lua
  3. Script Purpose : Augin Drodo
  4. Script Author : Cynnar
  5. Script Date : 2015.02.17
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. local DrodosGoodies = 119
  9. function spawn(NPC)
  10. ProvidesQuest(NPC, DrodosGoodies)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. FaceTarget(NPC, Spawn)
  17. conversation = CreateConversation()
  18. if GetQuestStep(Spawn, DrodosGoodies) == 5 then
  19. SetStepComplete(Spawn, DrodosGoodies, 5)
  20. PlayFlavor(NPC, "augin_drodo/enchanted/augin_drodo005.mp3", "", "", 3737453066, 827504034, Spawn)
  21. AddConversationOption(conversation, "My pleasure Augin. ")
  22. StartConversation(conversation, NPC, Spawn, "Brell's toes! You did it! I thought I'd never see my goodies again. Thank you very much, adventurer.")
  23. elseif HasQuest(Spawn, DrodosGoodies) then
  24. PlayFlavor(NPC, "augin_drodo/enchanted/augin_drodo004.mp3", "", "", 3781017237, 1546523399, Spawn)
  25. AddConversationOption(conversation, "You're right. I will complete the task.")
  26. StartConversation(conversation, NPC, Spawn, "Change your mind, friend? I wasn't expecting a trotter like you to leave a task undone.")
  27. elseif HasCompletedQuest(Spawn, DrodosGoodies) then
  28. PlayFlavor(NPC, "augin_drodo/enchanted/augin_drodo015.mp3", "", "", 2767747634, 2031605868, Spawn)
  29. AddConversationOption(conversation, "They got no souvenirs from me Augin. See you around.")
  30. StartConversation(conversation, NPC, Spawn, "Good to see you in one piece, friend. It's not often adventurers return ... at least not with all their limbs intact. The critters tend to keep a few souvenirs, ya know?")
  31. elseif not HasQuest(Spawn, DrodosGoodies) then
  32. PlayFlavor(NPC, "augin_drodo/enchanted/augin_drodo001.mp3", "", "", 3076457390, 3089637285, Spawn)
  33. AddConversationOption(conversation, "You say that like they ruined your picnic. ", "dlg_0_1")
  34. AddConversationOption(conversation, "I'll watch my step. Thank you.")
  35. StartConversation(conversation, NPC, Spawn, "These misty lands are very dangerous. One can't even picnic and slumber without being pestered by the critters!")
  36. end
  37. end
  38. function dlg_0_1(NPC, Spawn)
  39. FaceTarget(NPC, Spawn)
  40. conversation = CreateConversation()
  41. PlayFlavor(NPC, "augin_drodo/enchanted/augin_drodo002.mp3", "", "", 3561207017, 3513321017, Spawn)
  42. AddConversationOption(conversation, "I can look for your goodies. ", "dlg_0_2")
  43. AddConversationOption(conversation, "Maybe next time you'll know better. Farewell. ")
  44. StartConversation(conversation, NPC, Spawn, "Ruined my picnic, ruined my slumber, ruined my reading time! I was just minding my own when those blasted briarpaws came a rumbling towards me! I ran for my life! Left all my goodies to the critters!")
  45. end
  46. function dlg_0_2(NPC, Spawn)
  47. OfferQuest(NPC, Spawn, DrodosGoodies)
  48. end