9
3

VernonTinworthy.lua 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. --[[
  2. Script Name : SpawnScripts/QeynosHarbor/VernonTinworthy.lua
  3. Script Purpose : Vernon Tinworthy <Bar Patron>
  4. Script Author : Cynnar
  5. Script Date : 2020.04.12
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. Part of the betrayal quest https://eq2.fandom.com/wiki/Dissatisfied_with_Qeynos
  8. --]]
  9. function spawn(NPC)
  10. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function InRange(NPC, Spawn)
  16. end
  17. function LeaveRange(NPC, Spawn)
  18. end
  19. function hailed(NPC, Spawn)
  20. FaceTarget(NPC, Spawn)
  21. conversation = CreateConversation()
  22. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1052.mp3", "", "", 0, 0, Spawn)
  23. AddConversationOption(conversation, "Nothing.", "dlg_12_1")
  24. StartConversation(conversation, NPC, Spawn, "What do you want?")
  25. end
  26. function dlg_12_1(NPC, Spawn)
  27. FaceTarget(NPC, Spawn)
  28. conversation = CreateConversation()
  29. PlayFlavor(NPC, "", "", "glare", 0, 0, Spawn)
  30. AddConversationOption(conversation, "I'll be leaving.")
  31. StartConversation(conversation, NPC, Spawn, "Then get out of my sight. I'm drinking my woes away.")
  32. end