9
3

Aunthrae.lua 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. --[[
  2. Script Name : SpawnScripts/DarklightWood/Aunthrae.lua
  3. Script Purpose : Aunthrae
  4. Script Author : fearfx
  5. Script Date : 2017.01.23
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. local HopefulNetReturns = 160
  9. local WhatsInDemand = 142
  10. function spawn(NPC)
  11. ProvidesQuest(NPC, HopefulNetReturns)
  12. end
  13. function respawn(NPC)
  14. spawn(NPC)
  15. end
  16. function InRange(NPC, Spawn)
  17. end
  18. function LeaveRange(NPC, Spawn)
  19. end
  20. function hailed(NPC, Spawn)
  21. FaceTarget(NPC, Spawn)
  22. conversation = CreateConversation()
  23. if not HasQuest(Spawn, HopefulNetReturns) and not HasCompletedQuest(Spawn, HopefulNetReturns) and HasCompletedQuest(Spawn, WhatsInDemand) then
  24. PlayFlavor(NPC, "aunthrae/darklight_wood/tvatar_post/aunthrae_revamp/aunthrae001.mp3", "", "", 715895592, 1731061060, Spawn)
  25. AddConversationOption(conversation, "Perhaps.", "Quest_HopefulNetReturns")
  26. AddConversationOption(conversation, "Not at this time.")
  27. StartConversation(conversation, NPC, Spawn, "Stay a moment and hear me out, Villii. I see you helping my master. Perhaps you'd be willing to help me!")
  28. end
  29. end
  30. function Quest_HopefulNetReturns(NPC, Spawn)
  31. FaceTarget(NPC, Spawn)
  32. conversation = CreateConversation()
  33. AddConversationOption(conversation, "What can we do?", "Quest_HopefulNetReturns_01")
  34. StartConversation(conversation, NPC, Spawn, "Supplies are becoming harder and harder to come by here at the outpost. If Hate's Envy doesn't get their act together and send us more supplies soon, I fear we might face mass desertion, or worse, revolt!")
  35. end
  36. function Quest_HopefulNetReturns_01(NPC, Spawn)
  37. FaceTarget(NPC, Spawn)
  38. conversation = CreateConversation()
  39. AddConversationOption(conversation, "Yes, what's her name?", "Quest_HopefulNetReturns_02")
  40. AddConversationOption(conversation, "Sorry, I can't help right now.")
  41. StartConversation(conversation, NPC, Spawn, "Foodstuffs and rations are probably the most important thing we need at the moment. Ilmtar dispatched someone to see whether or not she could catch us fish from the Lower Tendril, however she has yet to report back. Would you go look for her?")
  42. end
  43. function Quest_HopefulNetReturns_02(NPC, Spawn)
  44. FaceTarget(NPC, Spawn)
  45. conversation = CreateConversation()
  46. AddConversationOption(conversation, "I will find her.", "QuestOffer_HopefulNetReturns")
  47. StartConversation(conversation, NPC, Spawn, "Great. Her name is Dirzdia T'Zauvirr. As I said, she was sent to the Searing Tendril River, southwest from T'Vatar Oupost. Find her and give her this net I managed to scrounge up. Hopefully it will help her catch us some food.")
  48. end
  49. function QuestOffer_HopefulNetReturns(NPC, Spawn)
  50. OfferQuest(NPC, Spawn, HopefulNetReturns)
  51. end