awanderingminstrel.lua 901 B

1234567891011121314151617181920212223242526272829303132
  1. --[[
  2. Script Name : SpawnScripts/Antonica/awanderingminstrel.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.08.27 07:08:08
  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, "", "Have you heard the Bonny Lass?", "", 1689589577, 4560189, Spawn)
  15. elseif choice == 2 then
  16. PlayFlavor(NPC, "", "The townsfolk aren't as pleasant as they were during my last visit.", "", 1689589577, 4560189, Spawn)
  17. elseif choice == 3 then
  18. PlayFlavor(NPC, "Buy me a drink, and I'll sing you a song.", "", 1689589577, 4560189, Spawn)
  19. elseif choice == 4 then
  20. PlayFlavor(NPC, "I always stop in to have some of Lanice's delightful ale.", "", 1689589577, 4560189, Spawn)
  21. end
  22. end
  23. function respawn(NPC)
  24. spawn(NPC)
  25. end