9
3

PearlHoneywine.lua 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. --[[
  2. Script Name : SpawnScripts/QeynosHarbor/PearlHoneywine.lua
  3. Script Purpose : Pearl Honeywine
  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, "voiceover/english/voice_emotes/greetings/greetings_2_1019.mp3", "", "", 0, 0, Spawn)
  22. AddConversationOption(conversation, "What's so interesting?", "dlg_25_1")
  23. AddConversationOption(conversation, "I don't suppose you're speaking to me. Good day!")
  24. StartConversation(conversation, NPC, Spawn, "I wonder whether they've simply been here all along and we didn't see them? Or is there some new way these creatures are reaching civilization? The possibilities are endless and interesting!")
  25. end
  26. function dlg_25_1(NPC, Spawn)
  27. FaceTarget(NPC, Spawn)
  28. conversation = CreateConversation()
  29. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  30. AddConversationOption(conversation, "I'm not interested in roadkill.", "dlg_25_2")
  31. StartConversation(conversation, NPC, Spawn, "My apologies! I was lost in thought for a moment. The return of the roekilliks has taken me and my colleagues quite by surprise. They are such an ancient race; this is very exciting information!")
  32. end