9
3

VernonTinworthy.lua 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. SetInfoStructString(NPC, "action_state", "drinking_idle")
  12. end
  13. function respawn(NPC)
  14. spawn(NPC)
  15. end
  16. function InRange(NPC, Spawn)
  17. end
  18. function LeaveRange(NPC, Spawn)
  19. end
  20. function hailed(NPC, Spawn)
  21. FaceTarget(NPC, Spawn)
  22. conversation = CreateConversation()
  23. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1052.mp3", "", "", 0, 0, Spawn)
  24. AddConversationOption(conversation, "Nothing.", "dlg_12_1")
  25. StartConversation(conversation, NPC, Spawn, "What do you want?")
  26. end
  27. function dlg_12_1(NPC, Spawn)
  28. FaceTarget(NPC, Spawn)
  29. conversation = CreateConversation()
  30. PlayFlavor(NPC, "", "", "glare", 0, 0, Spawn)
  31. AddConversationOption(conversation, "I'll be leaving.")
  32. StartConversation(conversation, NPC, Spawn, "Then get out of my sight. I'm drinking my woes away.")
  33. end