--[[ Script Name : SpawnScripts/QeynosHarbor/VernonTinworthy.lua Script Purpose : Vernon Tinworthy Script Author : Cynnar Script Date : 2020.04.12 Script Notes : Auto-Generated Conversation from PacketParser Data Part of the betrayal quest https://eq2.fandom.com/wiki/Dissatisfied_with_Qeynos --]] function spawn(NPC) SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange") SetInfoStructString(NPC, "action_state", "drinking_idle") end function respawn(NPC) spawn(NPC) end function InRange(NPC, Spawn) end function LeaveRange(NPC, Spawn) end function hailed(NPC, Spawn) FaceTarget(NPC, Spawn) conversation = CreateConversation() PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1052.mp3", "", "", 0, 0, Spawn) AddConversationOption(conversation, "Nothing.", "dlg_12_1") StartConversation(conversation, NPC, Spawn, "What do you want?") end function dlg_12_1(NPC, Spawn) FaceTarget(NPC, Spawn) conversation = CreateConversation() PlayFlavor(NPC, "", "", "glare", 0, 0, Spawn) AddConversationOption(conversation, "I'll be leaving.") StartConversation(conversation, NPC, Spawn, "Then get out of my sight. I'm drinking my woes away.") end