MarinerWhistlethorn.lua 1.2 KB

123456789101112131415161718192021222324252627282930
  1. --[[
  2. Script Name : SpawnScripts/QeynosHarbor/MarinerWhistlethorn.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.06.15 08:06:30
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function respawn(NPC)
  11. spawn(NPC)
  12. end
  13. function hailed(NPC, Spawn)
  14. RandomGreeting(NPC, Spawn)
  15. end
  16. function RandomGreeting(NPC, Spawn)
  17. local choice = MakeRandomInt(1,3)
  18. if choice == 1 then
  19. PlayFlavor(NPC, "voiceover/english/halfelf_eco_farsea_1/ft/service/guard/halfelf_guard_service_farsea_1_hail_gf_2b42c14f.mp3", "After twelve weeks at sea, bashing the head of a nosy landlubber sounds quite appealing!", "shakefist", 1936614211, 2469553737, Spawn, 0)
  20. elseif choice == 2 then
  21. PlayFlavor(NPC, "voiceover/english/halfelf_eco_farsea_1/ft/service/guard/halfelf_guard_service_farsea_1_hail_gf_a837e4f4.mp3", "Once I am off duty, I will be heading straight to the tavern.", "ponder", 3411176323, 4077972480, Spawn, 0)
  22. elseif choice == 3 then
  23. PlayFlavor(NPC, "voiceover/english/halfelf_eco_farsea_1/ft/service/guard/halfelf_guard_service_farsea_1_hail_gf_f9615d93.mp3", "This ain't a show stranger, buy your goods and shove-off!", "glare", 1941361840, 4269078583, Spawn, 0)
  24. end
  25. end