9
3

aFroglokchild.lua 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. --[[
  2. Script Name : SpawnScripts/TheHiddenVillageofKugup/aFroglokchild.lua
  3. Script Purpose : a Froglok child
  4. Script Author : neatz09
  5. Script Date : 2023.12.12
  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,7)
  19. if choice == 1 then
  20. PlayFlavor(NPC, "", "EEeiiiiIIEE!!", "point", 0, 0, Spawn, 0)
  21. elseif choice == 2 then
  22. PlayFlavor(NPC, "", "Hehe!", "giggle", 0, 0, Spawn, 0)
  23. elseif choice == 3 then
  24. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1030.mp3", 0, 0, Spawn)
  25. elseif choice == 4 then
  26. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1030.mp3", 0, 0, Spawn)
  27. elseif choice == 5 then
  28. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1017.mp3", 0, 0, Spawn)
  29. elseif choice == 6 then
  30. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1030.mp3", 0, 0, Spawn)
  31. elseif choice == 7 then
  32. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1017.mp3", 0, 0, Spawn)
  33. end
  34. end