NebbleUnderroot.lua 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/NebbleUnderroot.lua
  3. Script Author : Zcoretri, premierio015(Update)
  4. Script Date : 2015.07.27
  5. Script Purpose : Nebble Unfderroot dialog
  6. Modified Date : 2020.04.03
  7. Modified by : premierio015
  8. Modified Notes : Added correct VoiceOvers and animation
  9. --]]
  10. function spawn(NPC)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. FaceTarget(NPC, Spawn)
  17. math.randomseed(os.time())
  18. choice = math.random(1,4)
  19. if choice == 1 then
  20. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1040.mp3", "Mmm, triggerfish pie! I can smell it now.", "hello", 0, 0, Spawn)
  21. elseif choice == 2 then
  22. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1040.mp3", "Shark fin soup! Maybe I'll get lucky.", "hello", 0, 0, Spawn)
  23. elseif choice == 3 then
  24. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1040.mp3", "Shark fin soup! Maybe I'll get lucky.", "hello", 0, 0, Spawn)
  25. else
  26. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1040.mp3", "Mmm, triggerfish pie! I can smell it now.", "hello", 0, 0, Spawn)
  27. end
  28. end