a_budding_prankster.lua 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. UpdateQuestZone(Quest,"Forest Ruins")
  15. end
  16. function Accepted(Quest, QuestGiver, Player)
  17. FaceTarget(QuestGiver, Player)
  18. conversation = CreateConversation()
  19. AddConversationOption(conversation, "I'm sure it will be great.")
  20. StartConversation(conversation, QuestGiver, Player, "I just wish I could be there to see it.")
  21. end
  22. function Declined(Quest, QuestGiver, Player)
  23. end
  24. function Deleted(Quest, QuestGiver, Player)
  25. end
  26. function quest_complete(Quest, QuestGiver, Player)
  27. UpdateQuestStepDescription(Quest, 1, "I have spoken with Remmy Tumbub.")
  28. UpdateQuestTaskGroupDescription(Quest, 1, "I have found Remmy.")
  29. UpdateQuestDescription(Quest, "I have played a practical joke on Remmy!")
  30. GiveQuestReward(Quest, Player)
  31. end
  32. function Reload(Quest, QuestGiver, Player, Step)
  33. end