spider_silk_for_brink.lua 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. --[[
  2. Script Name : Quests/GreaterFaydark/spider_silk_for_brink.lua
  3. Script Purpose : Handles the quest, "Spider Silk for Brink"
  4. Script Author : Scatman
  5. Script Date : 2009.03.28
  6. Zone : Greater Faydark
  7. Quest Giver: Brink Trudger
  8. Preceded by: Growler Pelts for Brink (growler_pelts_for_brink.lua)
  9. Followed by: Shells of Protection (shells_of_protection.lua)
  10. --]]
  11. function Init(Quest)
  12. -- Brink's Legplates
  13. -- Brink's Woven Band
  14. -- Brink's Green Knot
  15. AddQuestStepKill(Quest, 1, "I should get some silkspinner webbing for Brink. The silkspinner spiders to the west, past the growlers and deer, should be a good source.", 5, 100, "I should get some silk webbing from the silkspinner spiders for Brink Trudger. The spiders are usually a bit of a distance to the west, past the growlers and deer.", 2251, 1140063, 1140062)
  16. AddQuestStepCompleteAction(Quest, 1, "Step1_Complete_KilledSpiders")
  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_trudger009.mp3", "", "", 94899034, 3216566812, Player)
  22. AddConversationOption(conversation, "I'll be careful.")
  23. StartConversation(conversation, QuestGiver, Player, "Wonderful! The silkspinner spiders usually live in an area to the west, past the growlers. Be careful though, those silkspinners are dangerous fellers!")
  24. end
  25. function Declined(Quest, QuestGiver, Player)
  26. end
  27. function Step1_Complete_KilledSpiders(Quest, QuestGiver, Player)
  28. UpdateQuestStepDescription(Quest, 1, "I should have enough spider silk for Brink Trudger now.")
  29. UpdateQuestTaskGroupDescription(Quest, 1, "I should have enough spider silk for Brink Trudger now.")
  30. AddQuestStepChat(Quest, 2, "I should give the silkspinner webs to Brink Trudger.", 1, "I should take these silkspinner webs to Brink Trudger so that he can use them to make fae clothing. He should be at his regular spot near the spirit bloom nursery.", 2251, 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 him silkspinner webbing. The hides and silk should go a long way to outfitting adventurers with robes and cloth armor.")
  35. GiveQuestReward(Quest, Player)
  36. end
  37. function Reload(Quest, QuestGiver, Player, Step)
  38. if Step == 1 then
  39. Step1_Complete_KilledSpiders(Quest, QuestGiver, Player)
  40. end
  41. end