9
3

GrroptheForeman.lua 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. --[[
  2. Script Name : SpawnScripts/TheLostVillageofKugup/GrroptheForeman.lua
  3. Script Purpose : Grrop the Foreman
  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,10)
  19. if choice == 1 then
  20. PlayFlavor(NPC, "", "Sure is exhausting.", "", 0, 0, Spawn, 0)
  21. elseif choice == 2 then
  22. PlayFlavor(NPC, "", "Whew, it's break time!", "", 0, 0, Spawn, 0)
  23. elseif choice == 3 then
  24. PlayFlavor(NPC, "", "I'm sorry about that, friend. Say, if you're looking to wash that off, ol Grepp keeps a keg o' water over by his tent.", "", 0, 0, Spawn, 0) --Quest
  25. elseif choice == 4 then
  26. PlayFlavor(NPC, "", "Oh Frrin, calm down! Pikspoh probably just needs another crystal... Don't you have work to do, anyway?", "", 0, 0, Spawn, 0) --Quest
  27. elseif choice == 5 then
  28. PlayFlavor(NPC, "", "Stop goofing around, Frrin!", "", 0, 0, Spawn, 0)
  29. elseif choice == 6 then
  30. PlayFlavor(NPC, "", "This is hard work!", "", 0, 0, Spawn, 0)
  31. elseif choice == 7 then
  32. PlayFlavor(NPC, "", "Would you just look at all these rocks I have to mine?", "", 0, 0, Spawn, 0)
  33. elseif choice == 8 then
  34. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1016.mp3", 0, 0, Spawn)
  35. elseif choice == 9 then
  36. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1016.mp3", 0, 0, Spawn)
  37. elseif choice == 10 then
  38. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1016.mp3", 0, 0, Spawn)
  39. end
  40. end