9
3

a_budding_hunter.lua 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. --[[
  2. Script Name : Quests/Nettleville/a_budding_hunter.lua
  3. Script Purpose : Handles the quest, "A Budding Hunter"
  4. Script Author : Scatman
  5. Script Date : 2009.08.10
  6. Zone : Nettleville
  7. Quest Giver: Johfrit Gythell
  8. Preceded by: Crate and Barrel (crate_and_barrel.lua)
  9. Followed by: None
  10. --]]
  11. function Init(Quest)
  12. AddQuestStepChat(Quest, 1, "I need to speak with Lieutenant Dawson.", 1, "I need to find Lieutenant Dawson in the Peat Bog and see if she has work for me.", 0, 1980012)
  13. AddQuestStepCompleteAction(Quest, 1, "Quest_Complete")
  14. end
  15. function Accepted(Quest, QuestGiver, Player)
  16. FaceTarget(QuestGiver, Player)
  17. conversation = CreateConversation()
  18. PlayFlavor(QuestGiver, "voiceover/english/tutorial_revamp/johfrit_gythell/qey_village01/johfritgythell014.mp3", "", "", 2903854914, 2874917494, Player)
  19. AddConversationOption(conversation, "Hmm. Thank you.")
  20. StartConversation(conversation, QuestGiver, Player, "Lieutenant Dawson in the Peat Bog is always recruiting hands to help. She gives 'honest' work.")
  21. end
  22. function Declined(Quest, QuestGiver, Player)
  23. end
  24. function Quest_Complete(Quest, QuestGiver, Player)
  25. UpdateQuestStepDescription(Quest, 1, "I have spoken with Lieutenant Dawson.")
  26. UpdateQuestTaskGroupDescription(Quest, 1, "I have found Lieutenant Dawson.")
  27. UpdateQuestDescription(Quest, "I have spoken to Lieutenant Dawson.")
  28. GiveQuestReward(Quest, Player)
  29. end
  30. function Reload(Quest, QuestGiver, Player, Step)
  31. end