DockmasterWilson.lua 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. --[[
  2. Script Name : SpawnScripts/Antonica/DockmasterWilson.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.10.24 04:10:24
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function hailed(NPC, Spawn)
  11. FaceTarget(NPC, Spawn)
  12. local choice = MakeRandomInt(1,4)
  13. if choice == 1 then
  14. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1002.mp3", "Our boats are some of the stoutest on the ocean.", "nod", 0, 0, Spawn, 0)
  15. elseif choice == 2 then
  16. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1002.mp3", "I'll set you up with a ride to the city if ya be need'n.", "agree", 0, 0, Spawn, 0)
  17. elseif choice == 3 then
  18. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1002.mp3", "Once the waters calm, I'll be able to send you off to new lands.", "shrug", 0, 0, Spawn, 0)
  19. elseif choice == 4 then
  20. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1002.mp3", "Head on into the Qeynos Harbor if you're looking for some grub or other passage.", "smile", 0, 0, Spawn, 0)
  21. end
  22. end
  23. function respawn(NPC)
  24. spawn(NPC)
  25. end