Tarnael.lua 957 B

12345678910111213141516171819202122232425262728293031
  1. --[[
  2. Script Name : SpawnScripts/ThunderingSteppes/Tarnael.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.06.18 03:06:38
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function hailed(NPC, Spawn)
  11. RandomGreeting(NPC, Spawn)
  12. end
  13. function RandomGreeting(NPC, Spawn)
  14. local choice = MakeRandomInt(1,3)
  15. if choice == 1 then
  16. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1008.mp3", "I'm making money hand over fist over here!", "scheme", 0, 0, Spawn, 0)
  17. elseif choice == 2 then
  18. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1008.mp3", "For you, a special price!", "scheme", 0, 0, Spawn, 0)
  19. elseif choice == 3 then
  20. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1008.mp3", "I was sent here by Queen Bayle herself! Yeah! The Queen!", "nod", 0, 0, Spawn, 0)
  21. end
  22. end
  23. function respawn(NPC)
  24. spawn(NPC)
  25. end