report_to_cragged_spine.lua 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. --[[
  2. Script Name : Quests/FrostfangSea/report_to_cragged_spine.lua
  3. Script Purpose : for the quest "Report to Cragged Spine"
  4. Script Author : theFoof
  5. Script Date : 2013.6.1
  6. Script Notes :
  7. Zone : Frostfang Sea
  8. Quest Giver : Belka Thunderheart
  9. Preceded by : Domestication is the New Survivalism
  10. Followed by :
  11. --]]
  12. function Init(Quest)
  13. AddQuestRewardCoin(Quest, math.random(5,90), math.random(6,15), 0, 0)
  14. AddQuestStepChat(Quest, 1, "I must report to Tad Ironstein at the Cragged Spine.", 1, "I must report to Tad Ironstein at the Cragged Spine outpost. The Cragged Spine is south of the Great Shelf, past the frostbiter basilisks.", 0, 4700106)
  15. AddQuestStepCompleteAction(Quest, 1, "CompleteQuest")
  16. end
  17. function Accepted(Quest, QuestGiver, Player)
  18. FaceTarget(QuestGiver, Player)
  19. conversation = CreateConversation()
  20. PlayFlavor(QuestGiver, "", "", "", 0, 0, Player)
  21. AddConversationOption(conversation, "And with you. Farewell!")
  22. AddConversationOption(conversation, "On to bigger and better things.")
  23. StartConversation(conversation, QuestGiver, Player, "Yer actions have given us all hope out here, " .. GetName(Player) .. ", and ye've personally rescued me from the depths of despair. We will miss having ye around. Brell be with ye.")
  24. end
  25. function Deleted(Quest, QuestGiver, Player)
  26. end
  27. function Declined(Quest, QuestGiver, Player)
  28. end
  29. function CompleteQuest(Quest, QuestGiver, Player)
  30. GiveQuestReward(Quest, Player)
  31. end