Entui.lua 789 B

1234567891011121314151617181920212223242526272829
  1. --[[
  2. Script Name : SpawnScripts/Commonlands/Entui.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.03.15 09:03:15
  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, 3)
  13. if choice == 1 then
  14. PlayFlavor(NPC, "", "This is my house, you should remember that.", "", 1689589577, 4560189, Spawn)
  15. elseif choice == 2 then
  16. PlayFlavor(NPC, "", "The rats across the river annoy my neighbors to no end, but I think they're kind of cute.", "", 1689589577, 4560189, Spawn)
  17. else
  18. PlayFlavor(NPC, "", "The fishing here isn't as good as I would have hoped.", "", 1689589577, 4560189, Spawn)
  19. end
  20. end
  21. function respawn(NPC)
  22. spawn(NPC)
  23. end