9
3

the_nightmare_is_over.lua 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. --[[
  2. Script Name : Quests/FrostfangSea/the_nightmare_is_over.lua
  3. Script Purpose : the quest "The Nightmare is Over"
  4. Script Author : theFoof
  5. Script Date : 2013.6.19
  6. Script Notes :
  7. Zone : Frostfang Sea
  8. Quest Giver : Dolur Axebeard
  9. Preceded by : Severing the Head
  10. Followed by : None
  11. --]]
  12. function Init(Quest)
  13. AddQuestRewardCoin(Quest, math.random(5,90), math.random(9,22), 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. AddConversationOption(conversation, "I look forward to meeting them.")
  21. AddConversationOption(conversation, "Perhaps they will be a bit more organized.")
  22. StartConversation(conversation, QuestGiver, Player, "Thank ye for sticking with us through the worst of it, " .. GetName(Spawn) .. ". Yer no fair weather friend. I'll say taht about ye. I've sent word to Cragged Spine that yer coming and put in a good word or two. They should welcome ye right away. Ye'll find it far to the south of here, past the battlefield and the basilisks.")
  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