a_missing_husband.lua 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. --[[
  2. Script Name : Quests/Graystone/A Missing Husband
  3. Script Purpose : Handles the quest, "a_missing_husband.lua"
  4. Script Author : Scatman
  5. Script Date : 2009.10.05
  6. Zone : Graystone Yard
  7. Quest Giver: Mav Boilfist
  8. Preceded by: A Stone From Home (a_stone_from_home.lua)
  9. Followed by: None
  10. --]]
  11. function Init(Quest)
  12. AddQuestStepChat(Quest, 1, "I need to find Marv Boilfist.", 1, "I have agreed to look for Marv, Mav's husband, in the Oakmyst Forest.", 0, 1950025)
  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/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist033a.mp3", "", "", 2039112314, 2255017414, Player)
  19. AddConversationOption(conversation, "Will do.")
  20. StartConversation(conversation, QuestGiver, Player, "Tell him to hurry home. I miss that old lug.")
  21. end
  22. function Declined(Quest, QuestGiver, Player)
  23. end
  24. function Quest_Complete(Quest, QuestGiver, Player)
  25. UpdateQuestStepDescription(Quest, 1, "I have found Marv Boilfist.")
  26. UpdateQuestTaskGroupDescription(Quest, 1, "I found Mav's husband.")
  27. GiveQuestReward(Quest, Player)
  28. UpdateQuestDescription(Quest, "I found Marv Boilfist in the Oakmyst Forest.")
  29. end
  30. function Reload(Quest, QuestGiver, Player, Step)
  31. end