9
3

Maharai.lua 748 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : SpawnScripts/Commonlands/Maharai.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.03.15 06:03:18
  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, "", "Those rats across the river leave an awful stench wherever they go!", "", 0, 0, Spawn)
  15. elseif choice == 2 then
  16. PlayFlavor(NPC, "", "Something really needs to be done about our rat problem.", "", 0, 0, Spawn)
  17. else
  18. PlayFlavor(NPC, "", "The gnawing, and the screeching, and the clawing... they're so NOISY.", 0, 0, Spawn)
  19. end
  20. end
  21. function respawn(NPC)
  22. spawn(NPC)
  23. end