MulkatheSkinner.lua 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. --[[
  2. Script Name : SpawnScripts/Freeport/MulkatheSkinner.lua
  3. Script Author : Premierio015
  4. Script Date : 2020.08.11 06:08:46
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function hailed(NPC, Spawn)
  11. FaceTarget(NPC, Spawn)
  12. local choice = math.random(1, 4)
  13. if choice == 1 then
  14. PlayFlavor(NPC, "voiceover/english/troll_eco_evil_1/ft/service/petretailer/troll_petretailer_service_evil_1_hail_gf_fcf05629.mp3", "''House trained?'' What's that mean?", "confused", 3843089934, 581581763, Spawn)
  15. elseif choice == 2 then
  16. PlayFlavor(NPC, "voiceover/english/troll_eco_evil_1/ft/service/petretailer/troll_petretailer_service_evil_1_hail_gf_98b4570.mp3", "This isn't a petting zoo. Either buy something or get lost.", "scold", 4230863124, 20005039, Spawn)
  17. elseif choice == 3 then
  18. PlayFlavor(NPC, "voiceover/english/troll_eco_evil_1/ft/service/petretailer/troll_petretailer_service_evil_1_hail_gf_1ad76180.mp3", "Yeah, that particular one was, uh, bred to have three legs.", "ponder", 2854482447, 103253848, Spawn)
  19. else
  20. PlayFlavor(NPC, "voiceover/english/troll_eco_evil_1/ft/service/petretailer/troll_petretailer_service_evil_1_hail_gf_6f21b83d.mp3", "Just don't feed 'em after midnight.", "wink", 785931983, 438527802, Spawn)
  21. end
  22. end
  23. function targeted(NPC, Spawn)
  24. if GetDistance(Spawn, NPC) < 10 then
  25. hailed(NPC, Spawn)
  26. end
  27. end
  28. function respawn(NPC)
  29. end