broken_buttons.lua 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. --[[
  2. Script Name : Quests/GreaterFaydark/broken_buttons.lua
  3. Script Purpose : Handles the quest, "Broken Buttons"
  4. Script Author : Scatman
  5. Script Date : 2009.03.29
  6. Zone : Greater Faydark
  7. Quest Giver: Ami Augren
  8. Preceded by: Shells of Protection (shells_of_protection.lua)
  9. Followed by: Dollnapping! (dollnapping.lua)
  10. --]]
  11. function Init(Quest)
  12. -- Aged Chain
  13. -- Augren Friendship Token
  14. AddQuestStepChat(Quest, 1, "I need to give the coat and buttons to Ami's mother. She should be near the spirit bloom nursery.", 1, ".", 281, 1140018)
  15. AddQuestStepCompleteAction(Quest, 1, "Quest_Complete")
  16. end
  17. function Accepted(Quest, QuestGiver, Player)
  18. FaceTarget(QuestGiver, Player)
  19. conversation = CreateConversation()
  20. PlayFlavor(QuestGiver, "voiceover/english/exp03_questvo2/ami_augren/_exp03/exp03_rgn_greater_faydark/ami_augren/ami_augren010.mp3", "", "", 3660711041, 3242516728, Player)
  21. AddConversationOption(conversation, "I will.")
  22. StartConversation(conversation, QuestGiver, Player, "Tell her I didn't mean to break it.")
  23. end
  24. function Declined(Quest, QuestGiver, Player)
  25. end
  26. function Quest_Complete(Quest, QuestGiver, Player)
  27. UpdateQuestDescription(Quest, "I gave Ami's coat to her mother, Sua. Sua said she'd fix the buttons. I hope that stops Ami from crying.")
  28. GiveQuestReward(Quest, Player)
  29. end
  30. function Reload(Quest, QuestGiver, Player, Step)
  31. end