dyer_mycoria.lua 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. --[[
  2. Script Name : Quests/GreaterFaydark/dyer_mycoria.lua
  3. Script Purpose : Handles the quest, "Dyer Mycoria"
  4. Script Author : Scatman
  5. Script Date : 2009.03.29
  6. Zone : Greater Faydark
  7. Quest Giver: Morganellus
  8. Preceded by: None
  9. Followed by: None
  10. --]]
  11. function Init(Quest)
  12. AddQuestStepChat(Quest, 1, "I need to speak with Agarighus in Dyer Mycoria.", 1, ".", 0, 1140129)
  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/exp03_questvo2/morganellus/_exp03/exp03_rgn_greater_faydark/shroomba/morganellus/morganellus004.mp3", "", "", 2956711105, 2602303407, Player)
  19. AddConversationOption(conversation, "All right, I'll just find him.")
  20. StartConversation(conversation, QuestGiver, Player, "Why would I want that? You are going to Dyer Mycoria, not me.")
  21. end
  22. function Declined(Quest, QuestGiver, Player)
  23. end
  24. function Quest_Complete(Quest, QuestGiver, Player)
  25. UpdateQuestDescription(Quest, "I have found Agarighus.")
  26. GiveQuestReward(Quest, Player)
  27. end
  28. function Reload(Quest, QuestGiver, Player, Step)
  29. end