HannaDeeppockets.lua 773 B

12345678910111213141516171819202122232425
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/HannaDeeppockets.lua
  3. Script Author : Zcoretri
  4. Script Date : 2015.07.30
  5. Script Purpose : Hanna Deeppockets dialog
  6. Modified Data : 2020.04.04
  7. Modiefied by : premierio015
  8. Notes : All VoiceOvers addded
  9. --]]
  10. function hailed(NPC, Spawn)
  11. FaceTarget(NPC, Spawn)
  12. math.randomseed(os.time())
  13. voice = math.random(1,3)
  14. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_"..voice.."_1019.mp3", "", "", 0, 0, Spawn)
  15. text = math.random(1,2)
  16. if text == 1 then
  17. Say(NPC, "All your basic necessities you'll find here.")
  18. else
  19. Say(NPC, "The Deeppockets have a long history of good deals, ask anyone!")
  20. end
  21. end