TrellyGreenthorn.lua 820 B

1234567891011121314151617181920212223242526272829303132
  1. --[[
  2. Script Name : SpawnScripts/qeynos_combined02/TrellyGreenthorn.lua
  3. Script Author : Rylec
  4. Script Date : 2021.01.19 06:01:45
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  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.."_1033.mp3", "", "", 0, 0, Spawn)
  15. text = math.random(1,2)
  16. if text == 1 then
  17. Say(NPC, "It's a travesty what has become of The Willow Wood.")
  18. else
  19. Say(NPC, "Thankfully, it's still peaceful here in the Province District, but the same can't be said for my home within the Willow Wood.")
  20. end
  21. end
  22. function respawn(NPC)
  23. spawn(NPC)
  24. end