MasterScribePhonetia.lua 932 B

1234567891011121314151617181920212223242526272829
  1. --[[
  2. Script Name : SpawnScripts/qeynos_combined02/MasterScribePhonetia.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.10.03 04:10:04
  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, "", "There is no language that is too hard to understand.", "", 1689589577, 4560189, Spawn)
  15. elseif choice == 2 then
  16. PlayFlavor(NPC, "", "Learning a new language can broaden your mind!", "", 1689589577, 4560189, Spawn)
  17. elseif choice == 3 then
  18. PlayFlavor(NPC, "", "I will have you learn a new language in no time!", "", 1689589577, 4560189, Spawn)
  19. elseif choice == 4 then
  20. PlayFlavor(NPC, "", "Have a local dialect you need to learn? I have got you covered!", "", 1689589577, 4560189, Spawn)
  21. end
  22. end
  23. function respawn(NPC)
  24. spawn(NPC)
  25. end