9
3

picking_up_slack.lua 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. --[[
  2. Script Name : Quests/Darklight/picking_up_slack.lua
  3. Script Purpose : Handles the quest, "Picking up Slack"
  4. Script Author : Scatman
  5. Script Date : 2009.02.02
  6. Zone : Darklight Wood
  7. Quest Giver: Ginwyss D'Arkenett
  8. Preceded by: Rotting Scum (rotting_scum.lua)
  9. Followed by: None
  10. --]]
  11. function Init(Quest)
  12. -- Brass Braced Leggings
  13. -- Calcified Breastplate
  14. -- Smudged Brigandine Shirt
  15. -- Leaf Crusher Gloves
  16. -- Alluvial Breastplate
  17. AddQuestStepKill(Quest, 1, "I need to kill eight wellspring cubs.", 8, 100, ".", 611, 340099, 340097)
  18. AddQuestStepCompleteAction(Quest, 1, "step1_complete_killCubs")
  19. end
  20. function Accepted(Quest, QuestGiver, Player)
  21. FaceTarget(QuestGiver, Player)
  22. conversation = CreateConversation()
  23. PlayFlavor(QuestGiver, "voiceover/english/neriak/ginwyss_d_arkenett/darklight_wood/tvatar_post/ginwyss/ginwyss012.mp3", "", "", 264010058, 2837526220, Player)
  24. AddConversationOption(conversation, "Ok.")
  25. StartConversation(conversation, QuestGiver, Player, "Return to me once you've finished.")
  26. end
  27. function Declined(Quest, QuestGiver, Player)
  28. end
  29. function step1_complete_killCubs(Quest, QuestGiver, Player)
  30. UpdateQuestStepDescription(Quest, 1, "I have killed the cubs.")
  31. AddQuestStepChat(Quest, 2, "I need to return to Ginwyss.", 1, ".", 0, 340110)
  32. AddQuestStepCompleteAction(Quest, 2, "quest_complete")
  33. end
  34. function quest_complete(Quest, QuestGiver, Player)
  35. UpdateQuestDescription(Quest, "I have slain the cubs for Ginwynn.")
  36. GiveQuestReward(Quest, Player)
  37. end
  38. function Reload(Quest, QuestGiver, Player, Step)
  39. if Step == 1 then
  40. step1_complete_killCubs(Quest, QuestGiver, Player)
  41. end
  42. end