9
3

trusted_referral.lua 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. --[[
  2. Script Name : Quests/FrostfangSea/trusted_referral.lua
  3. Script Purpose : the quest Trusted Referral
  4. Script Author : theFoof
  5. Script Date : 2013.8.25
  6. Script Notes :
  7. Zone : Frostfang Sea
  8. Quest Giver : Brogan MacLellan
  9. Preceded by : Trust Issues
  10. Followed by : None
  11. --]]
  12. -- *** THIS SCRIPT IS NOT COMPLETE, BUTCHERBLOCK MUST BE SPAWNED FIRST ***
  13. function Init(Quest)
  14. AddQuestRewardCoin(Quest, math.random(1,99), math.random(19,30), 0, 0)
  15. AddQuestStepChat(Quest, 1, "You should speak to Belinda MacLellan at the Butcherblock Bay docks.", 1, "You should speak to Belinda MacLellan at the Butcherblock Bay docks.", 0, "BELINDAMACLELLAN")
  16. AddQuestStepCompleteAction(Quest, 1, "CompleteQuest")
  17. end
  18. function Accepted(Quest, QuestGiver, Player)
  19. FaceTarget(QuestGiver, Player)
  20. conversation = CreateConversation()
  21. AddConversationOption(conversation, "I'll get this to her, right away!")
  22. StartConversation(conversation, QuestGiver, Player, "She's as reluctant to trust others, too, but I'll write you my recommendation. And if she doesn't have any work, I bet she'll know who there does.")
  23. end
  24. function Deleted(Quest, QuestGiver, Player)
  25. end
  26. function Declined(Quest, QuestGiver, Player)
  27. end
  28. function CompleteQuest(Quest, QuestGiver, Player)
  29. GiveQuestReward(Quest, Player)
  30. end
  31. function Reload(Quest, QuestGiver, Player, Step)
  32. end