PupilAdeptWazzlefop.lua 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. --[[
  2. Script Name : SpawnScripts/SouthQeynos/PupilAdeptWazzlefop.lua
  3. Script Purpose : Pupil Adept Wazzlefop <Concordium Mage>
  4. Script Author : Cynnar
  5. Script Date : 2020.04.12
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function spawn(NPC)
  9. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function InRange(NPC, Spawn)
  15. end
  16. function LeaveRange(NPC, Spawn)
  17. end
  18. function hailed(NPC, Spawn)
  19. FaceTarget(NPC, Spawn)
  20. conversation = CreateConversation()
  21. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  22. AddConversationOption(conversation, "I would like the writ: Followers of the Fang", "dlg_5_1")
  23. AddConversationOption(conversation, "I would like the writ: Darkpaw Encroachment")
  24. AddConversationOption(conversation, "I will be going.")
  25. StartConversation(conversation, NPC, Spawn, "...")
  26. if convo==6 then
  27. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  28. AddConversationOption(conversation, "I would like the writ: Followers of the Fang", "dlg_6_1")
  29. AddConversationOption(conversation, "I would like the writ: Darkpaw Encroachment")
  30. AddConversationOption(conversation, "I will be going.")
  31. StartConversation(conversation, NPC, Spawn, "...")
  32. end
  33. end
  34. function dlg_6_1(NPC, Spawn)
  35. FaceTarget(NPC, Spawn)
  36. conversation = CreateConversation()
  37. PlayFlavor(NPC, "voiceover/english/pupil_adept_wazzlefop/qey_south/100_soc_gnome_concordium_wazzlefop_greeting_fd45f78a.mp3", "", "", 4189930656, 304987589, Spawn)
  38. AddConversationOption(conversation, "Okay.", "dlg_6_2")
  39. StartConversation(conversation, NPC, Spawn, "Are you a seeker of the arcane? Do you thirst for the knowledge of the mystical? You've come to the right place. Here at the Concordium, we serve the queen by using our mystical prowess to aid those in need. Take this writ and help us in our search for truth.")
  40. end