9
3

aFreeportdweller.lua 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. --[[
  2. Script Name : SpawnScripts/Freeport/aFreeportdweller.lua
  3. Script Author : Premierio015
  4. Script Date : 2020.07.11 08:07:24
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function hailed(NPC, Spawn)
  11. FaceTarget(NPC, Spawn)
  12. if GetRace(NPC) == 14 and GetGender(NPC) == 1 then
  13. local choice = math.random(1, 7)
  14. if choice == 1 then
  15. PlayFlavor(NPC, "", "Me have many pieces of rat fur. I is richest troll ever.", "yeah", 1689589577, 4560189, Spawn)
  16. elseif choice == 2 then
  17. PlayFlavor(NPC, "", "Ripping and tearing, ripping and tearing, ripping and tearing, ripping...", "happy", 1689589577, 4560189, Spawn)
  18. elseif choice == 3 then
  19. PlayFlavor(NPC, "", "If I eats you now, I wouldn't know what you were going to say.", "wink", 1689589577, 4560189, Spawn)
  20. elseif choice == 4 then
  21. PlayFlavor(NPC, "", "Friends are good until you don't need them anymore.", "glare", 1689589577, 4560189, Spawn)
  22. elseif choice == 5 then
  23. PlayFlavor(NPC, "", "Me likes it when they are scared. It tastes better that way.", "thanks", 1689589577, 4560189, Spawn)
  24. elseif choice == 6 then
  25. PlayFlavor(NPC, "", "OWW!! Head hurts when I do that thing with my brain! OW!!", "confused", 1689589577, 4560189, Spawn)
  26. else
  27. PlayFlavor(NPC, "", "The Overlord needs to let trolls eat more people. He won't miss them.", "pout", 1689589577, 4560189, Spawn)
  28. end
  29. end
  30. end
  31. function respawn(NPC)
  32. end