SenseiGrrupin.lua 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. --[[
  2. Script Name : SpawnScripts/TheLostVillageofKugup/SenseiGrrupin.lua
  3. Script Purpose : Sensei Grrupin
  4. Script Author : neatz09
  5. Script Date : 2023.05.06
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function respawn(NPC)
  11. spawn(NPC)
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. RandomGreeting(NPC, Spawn)
  16. end
  17. function RandomGreeting(NPC, Spawn)
  18. local choice = MakeRandomInt(1,6)
  19. if choice == 1 then
  20. PlayFlavor(NPC, "", "Excellent work all! Froak!", "", 0, 0, Spawn, 0)
  21. elseif choice == 2 then
  22. PlayFlavor(NPC, "", "FRRRRROOOOOOOAKKK!!!", "", 0, 0, Spawn, 0)
  23. elseif choice == 3 then
  24. PlayFlavor(NPC, "", "We will never give up! Take a deep breath; we are readying to begin anew! With honor!", "", 0, 0, Spawn, 0)
  25. elseif choice == 4 then
  26. PlayFlavor(NPC, "", "The Hand of Marr will always guide the faithful! Do not let yourself become distracted by what goes on around us! Concentrate!", "", 0, 0, Spawn, 0)
  27. elseif choice == 5 then
  28. PlayFlavor(NPC, "", "Do not be discouraged by lack of success; be inspired! Every journey begins with the smallest of hops.", "", 0, 0, Spawn, 0)
  29. elseif choice == 6 then
  30. PlayFlavor(NPC, "", "My warriors, let us take a moment to reflect on our strengths! Together, we can overcome any obstacle.", "", 0, 0, Spawn, 0)
  31. end
  32. end