--[[ Script Name : SpawnScripts/QueensColony/HannaDeeppockets.lua Script Author : Zcoretri Script Date : 2015.07.30 Script Purpose : Hanna Deeppockets dialog Modified Data : 2020.04.04 Modiefied by : premierio015 Notes : All VoiceOvers addded --]] function hailed(NPC, Spawn) FaceTarget(NPC, Spawn) math.randomseed(os.time()) str = tostring(choice) choice = math.random(1,3) if choice == 1 then PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1019.mp3", "All your basic necessities you'll find here.", "", 0, 0, Spawn) elseif choice == 2 then PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1019.mp3", "The Deeppockets have a long history of good deals, ask anyone!", "", 0, 0, Spawn) else PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1019.mp3", "All your basic necessities you'll find here.", "", 0, 0, Spawn) end end function targeted(NPC, Spawn) if GetDistance(Spawn, NPC) < 10 then hailed(NPC, Spawn) end end