JulesJumsinger.lua 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. --[[
  2. Script Name : SpawnScripts/NorthFreeport/JulesJumsinger.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.06.19 12:06:54
  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,4)
  18. if choice == 1 then
  19. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1005.mp3", "I can handle all your banking needs, big or small.", "", 0, 0, Spawn, 0)
  20. elseif choice == 2 then
  21. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1005.mp3", "What are you looking at, tallstuff? Never seen a halfling in Freeport before?", "", 0, 0, Spawn, 0)
  22. elseif choice == 3 then
  23. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1005.mp3", "Get on with your business or watch out for your ankles is all I'll say.", "", 0, 0, Spawn, 0)
  24. elseif choice == 4 then
  25. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1005.mp3", "This is the North Freeport branch of the Freeport Reserve, what's your business?", "", 0, 0, Spawn, 0)
  26. end
  27. end