9
3

faeadaens_dinner_message.lua 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. --[[
  2. Script Name : Quests/Castleview/faeadaens_dinner_message.lua
  3. Script Author : Zcoretri
  4. Script Date : 2017.06.02 11:06:41
  5. Script Purpose :
  6. Zone : Castleview
  7. Quest Giver: Entertainer Faeadaen
  8. Preceded by: None
  9. Followed by: None
  10. --]]
  11. function Init(Quest)
  12. AddQuestStepChat(Quest, 1, "I must speak with Innkeeper Valean.", 1, "I need to deliver Faeadaen's message to Innkeeper Valean.", 11, 2360024)
  13. AddQuestStepCompleteAction(Quest, 1, "QuestComplete")
  14. end
  15. function Accepted(Quest, QuestGiver, Player)
  16. end
  17. function Declined(Quest, QuestGiver, Player)
  18. end
  19. function quest_complete(Quest, QuestGiver, Player)
  20. -- The following UpdateQuestStepDescription and UpdateTaskGroupDescription are not needed, parser adds them for completion in case stuff needs to be moved around
  21. UpdateQuestStepDescription(Quest, 1, "I gave Innkeeper Valean the message.")
  22. UpdateQuestTaskGroupDescription(Quest, 1, "I gave Innkeeper Valean the message that Faeadaen won't be able to join him for dinner tonight.")
  23. UpdateQuestDescription(Quest, "I told Innkeeper Valean that Faeadaen could not make the dinner appointment. He understood that she had to work late.")
  24. GiveQuestReward(Quest, Player)
  25. end
  26. function Reload(Quest, QuestGiver, Player, Step)
  27. if Step == 1 then
  28. QuestComplete(Quest, QuestGiver, Player)
  29. end
  30. end