9
3

growler_pelts_for_brink.lua 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. --[[
  2. Script Name : Quests/GreaterFaydark/growler_pelts_for_brink.lua
  3. Script Purpose : Handles the quest, "Growler Pelts for Brink"
  4. Script Author : Scatman
  5. Script Date : 2009.03.28
  6. Zone : Greater Faydark
  7. Quest Giver: Brink Trudger
  8. Preceded by: None
  9. Followed by: Spider Silk for Brink (spider_silk_for_brink.lua)
  10. --]]
  11. function Init(Quest)
  12. -- Brink's Finely Crafted Earring
  13. -- Brink's Carved Wooden Bow
  14. -- Brink's Finely Stitched Bracers
  15. AddQuestStepKill(Quest, 1, "I need to get growler pelts. The growlers should be found west of the spirit bloom nursery.", 5, 100, "I need to acquire growler pelts for Brink Trudger. I should be able to find the growlers just west of the spirit bloom nursery.", 93, 1140021, 1140033)
  16. AddQuestStepCompleteAction(Quest, 1, "Step1_Complete_KilledGrowlers")
  17. end
  18. function Accepted(Quest, QuestGiver, Player)
  19. FaceTarget(QuestGiver, Player)
  20. conversation = CreateConversation()
  21. PlayFlavor(QuestGiver, "voiceover/english/exp03_questvo2/brink_trudger/_exp03/exp03_rgn_greater_faydark/brink_trudger/brink_trudger003_offer.mp3", "", "", 179963171, 4058842652, Player)
  22. AddConversationOption(conversation, "This should be no problem.")
  23. StartConversation(conversation, QuestGiver, Player, "Great! I appreciate it!")
  24. end
  25. function Declined(Quest, QuestGiver, Player)
  26. end
  27. function Step1_Complete_KilledGrowlers(Quest, QuestGiver, Player)
  28. UpdateQuestStepDescription(Quest, 1, "I should have enough growler pelts now for Brink.")
  29. UpdateQuestTaskGroupDescription(Quest, 1, "I should have enough growler pelts now for Brink.")
  30. AddQuestStepChat(Quest, 2, "I should take the growler pelts back to Brink Trudger.", 1, "I should take these growler pelts to Brink Trudger. He should be busy sewing near the spirit bloom nursery.", 93, 1140005)
  31. AddQuestStepCompleteAction(Quest, 2, "Quest_Complete")
  32. end
  33. function Quest_Complete(Quest, QuestGiver, Player)
  34. UpdateQuestDescription(Quest, "I was able to help Brink Trudger by getting growler hides and giving them to him. He'll be able to use the hides to make leather armor.")
  35. GiveQuestReward(Quest, Player)
  36. end
  37. function Reload(Quest, QuestGiver, Player, Step)
  38. if Step == 1 then
  39. Step1_Complete_KilledGrowlers(Quest, QuestGiver, Player)
  40. end
  41. end