9
3

getting_to_know_poko.lua 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. --[[
  2. Script Name : Quests/Baubbleshire/getting_to_know_poko.lua
  3. Script Purpose : Handles the quest, "Getting to Know Poko"
  4. Script Author : Scatman
  5. Script Date : 2009.09.27
  6. Zone : The Baubbleshire
  7. Quest Giver: Neezer Grund
  8. Preceded by: Neezer's Survey (neezers_survery.lua)
  9. Followed by: None
  10. --]]
  11. function Init(Quest)
  12. AddQuestStepChat(Quest, 1, "I need to speak with Poko Zing.", 1, "I need to speak with Poko Zing and give him this mechanical part.", 0, 1960003)
  13. AddQuestStepCompleteAction(Quest, 1, "step1_complete")
  14. end
  15. function Accepted(Quest, QuestGiver, Player)
  16. FaceTarget(NPC, Spawn)
  17. conversation = CreateConversation()
  18. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/neezer_grund/qey_village06/quests/neezer_grund/neezer_grund050a.mp3", "", "", 494428162, 2433018345, Spawn)
  19. AddConversationOption(conversation, "All right.")
  20. StartConversation(conversation, NPC, Spawn, "Tell him Neezer sent you, I'm sure he'll be happy to see you.")
  21. end
  22. function Declined(Quest, QuestGiver, Player)
  23. end
  24. function Deleted(Quest, QuestGiver, Player)
  25. end
  26. function step1_complete(Quest, QuestGiver, Player)
  27. UpdateQuestStepDescription(Quest, 1, "I have spoken with Poko Zing.")
  28. UpdateQuestTaskGroupDescription(Quest, 1, "I have spoken with Poko Zing.")
  29. UpdateQuestDescription(Quest, "I have delivered the part to Poko Zing.")
  30. GiveQuestReward(Quest, Player)
  31. end
  32. function Reload(Quest, QuestGiver, Player, Step)
  33. end