a_budding_prankster.lua 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. --[[
  2. Script Name : Quests/Baubbleshire/a_budding_prankster.lua
  3. Script Purpose : Handles the quest, "A Budding Prankster"
  4. Script Author : Scatman is a gangsta
  5. Script Date : 2009.09.27
  6. Zone : The Baubbleshire
  7. Quest Giver: Rondo "The Belly" Roundstew
  8. Preceded by: Paying Off a Sweet Debt (paying_off_a_sweet_debt.lua)
  9. Followed by: None
  10. --]]
  11. function Init(Quest)
  12. AddQuestStepChat(Quest, 1, "I need to speak to Remmy Tumbub.", 1, "I need to find Remmy in the Forest Ruins and pretend to be from the Qeynos guard.", 0, 1960016)
  13. AddQuestStepCompleteAction(Quest, 1, "quest_complete")
  14. end
  15. function Accepted(Quest, QuestGiver, Player)
  16. FaceTarget(QuestGiver, Player)
  17. conversation = CreateConversation()
  18. AddConversationOption(conversation, "I'm sure it will be great.")
  19. StartConversation(conversation, QuestGiver, Player, "I just wish I could be there to see it.")
  20. end
  21. function Declined(Quest, QuestGiver, Player)
  22. end
  23. function Deleted(Quest, QuestGiver, Player)
  24. end
  25. function quest_complete(Quest, QuestGiver, Player)
  26. UpdateQuestStepDescription(Quest, 1, "I have spoken with Remmy Tumbub.")
  27. UpdateQuestTaskGroupDescription(Quest, 1, "I have found Remmy.")
  28. UpdateQuestDescription(Quest, "I have played a practical joke on Remmy!")
  29. GiveQuestReward(Quest, Player)
  30. end
  31. function Reload(Quest, QuestGiver, Player, Step)
  32. end